Re: ECPG support for struct in INTO list - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ECPG support for struct in INTO list
Date
Msg-id 20090717124337.GA26070@feivel.credativ.lan
Whole thread Raw
In response to ECPG support for struct in INTO list  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: ECPG support for struct in INTO list  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
On Fri, Jul 17, 2009 at 12:27:49PM +0200, Boszormenyi Zoltan wrote:
> one of our clients wants to port their application suite
> from Informix to PostgreSQL, they use constructs like
> 
> SELECT * INTO :tablerec FROM table ...
> 
> where "tablerec" mirrors the table fields in a C struct.

Well, this was supposed to work.

> Currently ECPG dumps core on this, more exactly aborts on it
> in ecpg_type_name().

Could you please send an example where it dumps core?

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: Petr Jelinek
Date:
Subject: Re: [PATCH] DefaultACLs
Next
From: Stephen Frost
Date:
Subject: Re: [PATCH] DefaultACLs