Re: Split-up ECPG patches

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Split-up ECPG patches
Дата
Msg-id 20090816133238.GA18568@feivel.credativ.lan
обсуждение исходный текст
Ответ на Re: Split-up ECPG patches  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: Split-up ECPG patches  (Boszormenyi Zoltan <zb@cybertec.at>)
Список 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 по дате отправления:

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: GRANT ON ALL IN schema
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Split-up ECPG patches