Re: [PATCHES] libpq type system 0.9a - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: [PATCHES] libpq type system 0.9a
Date
Msg-id 47FE7139.40103@esilo.com
Whole thread Raw
In response to Re: [PATCHES] libpq type system 0.9a  (Andrew Chernow <ac@esilo.com>)
List pgsql-hackers
Andrew Chernow wrote:
> res = paramexec(conn, param, ...
> if(!res)
>   // check pgconn or pgparam?
>   // can conn have an old error (false-pos)
> 

We will just always dump the error message into the param.  If 
PQexecParams fails with a NULL result, we will copy PQerrorMessage over 
to param->errMsg.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Commit fest queue
Next
From: Hannu Krosing
Date:
Subject: Re: Free Space Map data structure