Re: [GENERAL] Re: Unsupported frontend protocol - libpq

1999-04-04 Thread Bob VonMoss
The same thing is happening when I compile the sample program: postgresql-6.4.2/src/test/examples/testlibpq.c when I put my own database name and set some of the PG env. variables. bash$ testlibpq Connection to database 'mydb' failed. Unsupported frontend protocol.bash$ Bob VonMoss wrote: > Yes

Re: [GENERAL] Re: Unsupported frontend protocol - libpq

1999-04-04 Thread Bob VonMoss
Yes, I can connect via JDBC and via 'psql -h mypghost.com mydb' Statistical Solutions wrote: > Are you running postgres with the -i option??? For postgres to work with > tcp/ip, you need to launch postmaster with the -i option. > > steve > > On Sat, 3 Apr 1999, Bob VonMoss wrote: > > > Bob VonM

Re: [GENERAL] Re: Unsupported frontend protocol - libpq

1999-04-03 Thread Statistical Solutions
Are you running postgres with the -i option??? For postgres to work with tcp/ip, you need to launch postmaster with the -i option. steve On Sat, 3 Apr 1999, Bob VonMoss wrote: > Bob VonMoss wrote: > > > I'm trying to connect to a database from a C++ program compiled with > > g++, linked to th

[GENERAL] Re: Unsupported frontend protocol - libpq

1999-04-03 Thread Bob VonMoss
Bob VonMoss wrote: > I'm trying to connect to a database from a C++ program compiled with > g++, linked to the libpq library on a Sun Solaris system. It is compiled > and run like this (my actual information has been changed to pseudonyms, > like mypghost.com, etc.) > > bash$ gmake > g++ -c -I /u