Re: cannot connect to database through ECPG but can through psql

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: cannot connect to database through ECPG but can through psql
Дата
Msg-id 20150604160400.GA10954@tux
обсуждение исходный текст
Ответ на cannot connect to database through ECPG but can through psql  (Seann Reed <reedseannm@gmail.com>)
Список pgsql-general
Seann Reed <reedseannm@gmail.com> wrote:

> Everything worked fine with the old setup.  With the new setup, I can access my
> database through psql command-line.  However, I have a compiled program called
> 'Shefdecode' that makes queries to the database through ECPG and this program
> cannot access the database.  I get errors:

My guess: psql connects via unix socket, that's works. The programm
tries to connect via tcp/ip - don't work.

Check if listen_adresses in your postgresql.conf is enabled.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


В списке pgsql-general по дате отправления:

Предыдущее
От: Seann Reed
Дата:
Сообщение: cannot connect to database through ECPG but can through psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: cannot connect to database through ECPG but can through psql