emacs and postgres on another host - Mailing list pgsql-interfaces

From Arcady Genkin
Subject emacs and postgres on another host
Date
Msg-id 87zopjgsjw.fsf@tea.thpoon.com
Whole thread Raw
List pgsql-interfaces
How would I specify for M-x sql-postgres that I want to connect to
postgres running on another host? (I use "psql -u -h host dbname"
command in a terminal window...)

I tried modified call to sql-get-login in sql.el, supplying symbols
'user and 'password, and now I am prompted for user and password, but
still I can't connect, getting this:

,----[ *SQL* buffer ]
| Connection to database 'antipode' failed.
| fe_sendauth: no password supplied
| 
| 
| Process SQL exited abnormally with code 1
`----

I'm using sql.el 1.4.11 with psql 6.5.3.

Any ideas?
-- 
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.


pgsql-interfaces by date:

Previous
From: "christopher baus"
Date:
Subject: date format question.
Next
From: Jaume
Date:
Subject: JDBC date - Timestamp problem