Re: Split-up ECPG patches

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема Re: Split-up ECPG patches
Дата
Msg-id 4A882CF2.6010701@cybertec.at
обсуждение исходный текст
Ответ на Re: Split-up ECPG patches  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: Split-up ECPG patches  (Michael Meskes <meskes@postgresql.org>)
Список 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/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: Split-up ECPG patches
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GRANT ON ALL IN schema