Re: Split-up ECPG patches - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: Split-up ECPG patches
Date
Msg-id 20090816133238.GA18568@feivel.credativ.lan
Whole thread Raw
In response to Re: Split-up ECPG patches  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: Split-up ECPG patches  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
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? 

> - 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?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Sam Mason
Date:
Subject: Re: GRANT ON ALL IN schema
Next
From: Boszormenyi Zoltan
Date:
Subject: Re: Split-up ECPG patches