Re: ECPG support for struct in INTO list

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: ECPG support for struct in INTO list
Дата
Msg-id 20090805084256.GA27331@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 Fri, Jul 31, 2009 at 11:42:33AM +0200, Boszormenyi Zoltan wrote:
> made me look around more. Find the attached patch I came up with.
> Now my previous test code works and produces similar C code
> as without "-C INFORMIX". Can it be this simple?

Unfortunately it is not.

> Can you see anything wrong with this approach?

Yes, please look at the slightly changed test version that is attached to this email.

If you use e.g. int instead of MYTYPE, it works nicely, but not with MYTYPE.
Please see the comments in adjust_informix to see what this function is
supposed to do.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Shipping documentation untarred
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: ECPG support for struct in INTO list