Re: [INTERFACES] Re: [SQL] Questions about embedded-sql! - Mailing list pgsql-interfaces

From Maarten Boekhold
Subject Re: [INTERFACES] Re: [SQL] Questions about embedded-sql!
Date
Msg-id 371C8E13.A5586D6B@tibco.com
Whole thread Raw
In response to Re: [SQL] Questions about embedded-sql!  ("Gene Selkov, Jr." <selkovjr@mcs.anl.gov>)
List pgsql-interfaces
> Always check conn->errorMessage in case of errors to find what causes them

Check this using PQerrorMessage(conn). You're not supposed to access the
PGconn datastructure directly, its implementation might change in the
future, PQerrorMessage() will mask these changes.

Maarten

--

Maarten Boekhold, boekhold@tibco.com
TIBCO Finance Technology Inc.
The Atrium
Strawinskylaan 3051
1077 ZX Amsterdam, The Netherlands
tel: +31 20 3012158, fax: +31 20 3012358
http://www.tibco.com

pgsql-interfaces by date:

Previous
From: "Gene Selkov, Jr."
Date:
Subject: Re: [SQL] Questions about embedded-sql!
Next
From: Kent Perrier
Date:
Subject: Re: [INTERFACES] Compiling jdbc for Linux and Solaris