agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@postgres.Berkeley.EDU>
To: Kacper Nowicki <Kacper.Nowicki@fuw.edu.pl>
Cc: Postgres Mailing List <postgres@postgres.Berkeley.EDU>
Subject: Re: Errors returned from backend
Date: Thu, 21 Apr 94 11:13:41 -0700
Message-ID: <199404211813.LAA14278@nobozo.CS.Berkeley.EDU> (raw)
In-Reply-To: <Pine.3.89.9404211248.B7146-0100000@ccfs1>

Kacper Nowicki <Kacper.Nowicki@fuw.edu.pl> writes:
> pq_getstr(errormsg, error_msg_length);
> fprintf(stderr,"%s", errormsg);
> and is not accessible from libpq functions level.

PQerrormsg is set a bit more consistently in 4.2.
--
  Paul M. Aoki  |  CS Div., Dept. of EECS, UCB  |  aoki@postgres.Berkeley.EDU
                |  Berkeley, CA 94720           |  ...!uunet!ucbvax!aoki




reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: aoki@postgres.Berkeley.EDU, Kacper.Nowicki@fuw.edu.pl
  Subject: Re: Errors returned from backend
  In-Reply-To: <199404211813.LAA14278@nobozo.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox