emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ob-sql posgresql windows problems


From: Neil Cherry
Subject: ob-sql posgresql windows problems
Date: Wed, 14 Oct 2020 22:51:04 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

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
get:

'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 pgdb.example.com
#+header: :dbuser user
#+header: :dbpassword password
#+header: :database db
#+begin_src sql
select count(*) from db.pserver
#+end_src

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       ncherry@linuxha.com
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
Author of:      Linux Smart Homes For Dummies



reply via email to

[Prev in Thread] Current Thread [Next in Thread]