On Thu, Jan 7, 2010 at 7:31 PM, Mark Kirkwood <[email protected]> wrote: > Mike Landis wrote: >> >> Pick a database and table that exists, configure the string cconstants, >> compile and run the attached cpp, get 0 instead of 1 (that you get in >> pgAdmin... >> >> Where's can I download the libpq source? Maybe I can find and/or fix the >> problem myself. > > Your program works fine for me (apart from minor datatype changes to port to > Linux).
It works fine for me, too. At first I was getting val=0, but then after I modified it to actually be running against the same database where I created the test table, I got val=1 as expected. ...Robert -- Sent via pgsql-bugs mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs
