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>
Re: cannot connect to database through ECPG but can through psql Tom Lane <tgl@sss.pgh.pa.us>
Re: cannot connect to database through ECPG but can
through psql Andreas Kretschmer <akretschmer@spamfence.net>
Seann Reed 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
Дата:
От: Tom Lane
Дата: