| From: | Arcady Genkin <a(dot)genkin(at)utoronto(dot)ca> |
|---|---|
| To: | pgsql-interfaces(at)hub(dot)org |
| Subject: | emacs and postgres on another host |
| Date: | 2000-05-22 03:41:39 |
| Message-ID: | 87zopjgsjw.fsf@tea.thpoon.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jaume | 2000-05-22 10:54:50 | JDBC date - Timestamp problem |
| Previous Message | christopher baus | 2000-05-21 21:54:53 | date format question. |