Re: BUG #4549: ecpg produces code that don't compile - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: BUG #4549: ecpg produces code that don't compile
Date
Msg-id 20081126132019.GA12021@feivel.credativ.de
Whole thread Raw
In response to BUG #4549: ecpg produces code that don't compile  ("Clemens Fischer" <cfi@mbs-software.de>)
Responses Re: BUG #4549: ecpg produces code that don't compile  ("Clemens A. Fischer" <clemens.fischer@mbs-software.de>)
List pgsql-bugs
On Tue, Nov 25, 2008 at 10:44:32AM +0000, Clemens Fischer wrote:
> Using ecpg and gcc generates the following output:
> ecpg -t -o ecpgtest-multidim.c ecpgtest-multidim.pgc
> cc -c -I/usr/local/pgsql/include ecpgtest-multidim.c
> ecpgtest-multidim.pgc: In function `main':
> ecpgtest-multidim.pgc:30: parse error before `_13'
> cc: /usr/qnx630/host/qnx6/x86/usr/lib/gcc-lib/ntox86/2.95.3/cc1 error 33
> make: *** [ecpgtest-multidim.o] Error 1

Thanks for reporting. Fixed in CVS HEAD and 8.3.

Patch is attached, it was just a small oversight that happened when the new
varchar naming was introduced.

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: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

Attachment

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: could not read block 77 of relation 1663/16385/388818775
Next
From: "劉大維"
Date:
Subject: PQescapeStringConn in C:\Program Files\PostgreSQL\8.3\lib not found"