Re: [HACKERS] ECPG, two varchars with same name on same line

2010-03-09 Thread Michael Meskes
On Fri, May 01, 2009 at 03:49:47PM +0300, Heikki Linnakangas wrote: ECPG constructs internal struct names for VARCHAR fields using the field name and line number it's defined on. In a contrived example, though, that's not unique. Consider the following example: ... This should now be fixed.

Re: [HACKERS] ECPG, two varchars with same name on same line

2010-02-27 Thread Michael Meskes
On Fri, Feb 26, 2010 at 10:23:19PM -0500, Bruce Momjian wrote: Was this fixed? No, need to get along to fixing 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,

Re: [HACKERS] ECPG, two varchars with same name on same line

2010-02-26 Thread Bruce Momjian
Michael Meskes wrote: On Fri, May 01, 2009 at 03:49:47PM +0300, Heikki Linnakangas wrote: ECPG constructs internal struct names for VARCHAR fields using the field name and line number it's defined on. In a contrived example, though, that's not unique. Consider the following example:

Re: [HACKERS] ECPG, two varchars with same name on same line

2009-05-07 Thread Michael Meskes
On Fri, May 01, 2009 at 03:49:47PM +0300, Heikki Linnakangas wrote: ECPG constructs internal struct names for VARCHAR fields using the field name and line number it's defined on. In a contrived example, though, that's not unique. Consider the following example: ... That hardly happens in

Re: [HACKERS] ECPG, two varchars with same name on same line

2009-05-07 Thread Heikki Linnakangas
Michael Meskes wrote: On Fri, May 01, 2009 at 03:49:47PM +0300, Heikki Linnakangas wrote: ECPG constructs internal struct names for VARCHAR fields using the field name and line number it's defined on. In a contrived example, though, that's not unique. Consider the following example: ...

[HACKERS] ECPG, two varchars with same name on same line

2009-05-01 Thread Heikki Linnakangas
ECPG constructs internal struct names for VARCHAR fields using the field name and line number it's defined on. In a contrived example, though, that's not unique. Consider the following example: ... EXEC SQL BEGIN DECLARE SECTION; struct teststruct1 { VARCHAR a[20]; VARCHAR