emacs and postgres on another host

Поиск
Список
Период
Сортировка
От Arcady Genkin
Тема emacs and postgres on another host
Дата
Msg-id 87zopjgsjw.fsf@tea.thpoon.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "christopher baus"
Дата:
Сообщение: date format question.
Следующее
От: Jaume
Дата:
Сообщение: JDBC date - Timestamp problem