unofficial mirror of
 help / color / mirror / Atom feed
* ob-sql posgresql windows problems
@ 2020-10-15  2:51 Neil Cherry
  0 siblings, 0 replies; only message in thread
From: Neil Cherry @ 2020-10-15  2:51 UTC (permalink / raw)
  To: emacs-orgmode

I'm on a Windows 10 System, I'm using ob-sql.el and when I C-c C-c on the src block I

'PGPASSWORD' os mpt recognized as an internal or external command.

Example block:

#+name: My queries (Not working - 'PGPASSWORD' is not recognized as an internal or external)
#+header: :engine postgresql
#+header: :dbhost
#+header: :dbuser user
#+header: :dbpassword password
#+header: :database db
#+begin_src sql
select count(*) from db.pserver

I've tried to use an elisp block to set the SHELL to the correct bash path but it
still calls cmd.

Any suggestions to help with debugging.

Linux Home Automation         Neil Cherry                         Main site                    My HA Blog
Author of:    	Linux Smart Homes For Dummies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-15  2:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15  2:51 ob-sql posgresql windows problems Neil Cherry

unofficial mirror of

This inbox may be cloned and mirrored by anyone:

	git clone --mirror orgmode/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 orgmode orgmode/ \
	public-inbox-index orgmode

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone