Seann Reed <reedseannm@xxxxxxxxx> 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° -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general