Re: command length? - Mailing list pgsql-novice

From Tom Lane
Subject Re: command length?
Date
Msg-id 9455.1025296878@sss.pgh.pa.us
Whole thread Raw
In response to Re: command length?  (stev knowles <stev@Precision.Guesswork.COM>)
List pgsql-novice
stev knowles <stev@Precision.Guesswork.COM> writes:
> i am using a C interface into the database, based on the example code.
> occasionally, one of my INSERT's fails, with: INSERT command failed:
> PGRES_FATAL_ERROR.

You might want to change your code so it prints the PQresultErrorMessage,
and not (or at least not only) PQresultStatus.

            regards, tom lane



pgsql-novice by date:

Previous
From: stev knowles
Date:
Subject: Re: command length?
Next
From: Manfred Koizar
Date:
Subject: Re: command length?