Re: ECPG support for struct in INTO list

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ECPG support for struct in INTO list
Дата
Msg-id 20090805115350.GC9435@feivel.credativ.lan
обсуждение исходный текст
Ответ на Re: ECPG support for struct in INTO list  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: ECPG support for struct in INTO list  (Boszormenyi Zoltan <zb@cybertec.at>)
Список pgsql-hackers
On Wed, Aug 05, 2009 at 11:52:57AM +0200, Boszormenyi Zoltan wrote:
> This means that what I did in my first patch for this
> problem in "add_struct_to_head()" (unrolling members
> of the struct) has to be done in adjust_informix(),
> turning it into a recursive function.
> I think this would be a good solution. What do you think?

No, this doesn't seem right. There should be no need to unroll a struct.
Instead I would think struct support should be added to the get_var/set_var
functions. At least that's my guess without really digging into it.

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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: machine-readable explain output v4
Следующее
От: Sam Mason
Дата:
Сообщение: Re: the case for machine-readable error fields