Re: Need help with libpq and PQexec - Mailing list pgsql-general

From David Wilson
Subject Re: Need help with libpq and PQexec
Date
Msg-id e7f9235d0908111011t79fc340di7527dffe157b3033@mail.gmail.com
Whole thread Raw
In response to Need help with libpq and PQexec  (Juan Backson <juanbackson@gmail.com>)
List pgsql-general
On Tue, Aug 11, 2009 at 3:35 AM, Juan Backson<juanbackson@gmail.com> wrote:
> PGRES_COMMAND_OK

You want PGRES_TUPLES_OK for a select statement. You're not getting an
actual failure- you're checking for the wrong status.

--
- David T. Wilson
david.t.wilson@gmail.com

pgsql-general by date:

Previous
From: Jan Verheyden
Date:
Subject: mail alert
Next
From: John R Pierce
Date:
Subject: Re: mail alert