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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-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 Content-Type Size
pgc.l.diff application/octet-stream 1.6 KB

Responses

Browse pgsql-hackers by date

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

Browse pgsql-interfaces by date

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

Browse pgsql-patches by date

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