Skip site navigation (1) Skip section navigation (2)

Additional fixes to ecpg - please apply patch

From: "Nicolas Bazin" <nbazin(at)ingenico(dot)com(dot)au>
To: <pgsql-patches(at)postgresql(dot)org>,"PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>,<pgsql-interfaces(at)postgresql(dot)org>
Subject: Additional fixes to ecpg - please apply patch
Date: 2002-03-08 07:35:18
Message-ID: 001401c1c673$cc61ba60$660d090a@software.ingenico.com.au (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfacespgsql-patches
This new patch corrects 2 new bugs:
bug 1:
EXEC SQL define JOKER '?';
EXEC SQL define LINE "LINE";
could not be parsed

bug 2:
EXEC SQL define LEN 2;
memset(dst, '?', LEN);

was translated into

memset(dst, '?', 2
#line XX "thefile.ec"
);

which could not be compiled with gcc for instance

Nicolas BAZIN

Attachment: pgc.l.diff
Description: application/octet-stream (1.6 KB)

Responses

pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2002-03-08 07:37:10
Subject: Re: Domain Support -- another round
Previous:From: Tom LaneDate: 2002-03-08 07:21:05
Subject: Re: privileges regression problem on freebsd/alpha

pgsql-patches by date

Next:From: Christopher Kings-LynneDate: 2002-03-08 07:37:10
Subject: Re: Domain Support -- another round
Previous:From: Neil ConwayDate: 2002-03-08 05:49:33
Subject: ALTER TABLE OWNER: handle toast

pgsql-interfaces by date

Next:From: rolf.ostvikDate: 2002-03-08 09:40:47
Subject: Re: PL/pgSQL Syntax Problem
Previous:From: Bruce BadgerDate: 2002-03-07 22:14:08
Subject: Re: Beating Oracle

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group