Re: command length?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: stev knowles <stev(at)Precision(dot)Guesswork(dot)COM>
Cc: josh(at)agliodbs(dot)com, Postgresql Novice List <pgsql-novice(at)postgresql(dot)org>
Subject: Re: command length?
Date: 2002-06-28 20:41:18
Message-ID: 9455.1025296878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

stev knowles <stev(at)Precision(dot)Guesswork(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Manfred Koizar 2002-06-28 22:00:44 Re: command length?
Previous Message stev knowles 2002-06-28 19:33:29 Re: command length?