| From: | Andrew Chernow <ac(at)esilo(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Gregory Stark <stark(at)enterprisedb(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: [PATCHES] libpq type system 0.9a |
| Date: | 2008-04-10 19:57:45 |
| Message-ID: | 47FE7139.40103@esilo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hannu Krosing | 2008-04-10 20:04:45 | Re: Free Space Map data structure |
| Previous Message | Marc G. Fournier | 2008-04-10 19:43:59 | Re: Commit fest queue |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sibte Abbas | 2008-04-11 00:56:46 | Re: psql slash# command |
| Previous Message | Zdenek Kotala | 2008-04-10 19:45:08 | Re: Remove FATAL from pg_lzdecompress |