| From: | Boszormenyi Zoltan <zb(at)cybertec(dot)at> |
|---|---|
| To: | |
| Cc: | Michael Meskes <meskes(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, hs(at)cybertec(dot)at |
| Subject: | Re: Split-up ECPG patches |
| Date: | 2009-08-16 15:59:46 |
| Message-ID: | 4A882CF2.6010701@cybertec.at |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Michael Meskes írta:
> On Fri, Aug 14, 2009 at 10:12:24PM +0200, Boszormenyi Zoltan wrote:
>
>> Will add the ecpg_log(). What the code does is:
>> - sets up a minimal SQLDA on the first call (called with NULL ptr),
>> so the field types and field names and some other properties are in place.
>> doesn't do further work if out of memory
>>
>
> So this is an empty but compatible sqlda, right?
>
Yes. Is's the same sqlda as DESCRIBE would create.
>> - upon subsequent calls it checks whether a "compatible" sqlda was
>> passed in,
>> i.e. same number of fields, same types, etc. Sanity check. Doesn't do
>> further
>> work if the check fails.
>>
>
> What heppens if the sqlda is incompatible?
>
Returns false?
> Michael
>
--
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-08-16 16:12:40 | Re: GRANT ON ALL IN schema |
| Previous Message | vanek | 2009-08-16 15:58:29 | build error |