fix for BUG#599 & BUG 606

Started by Nicolas Bazinabout 24 years ago3 messageshackers
Jump to latest
#1Nicolas Bazin
nbazin@ingenico.com.au

Please apply patch.
----- Original Message -----
From: Nicolas Bazin
To: pgsql-patches@postgresql.org
Sent: Tuesday, March 05, 2002 12:08 PM
Subject: Re: BUG#599 & BUG 606 correction

The end of a define section is tested too soon during the parsing of ecpg. This patch makes sure that the parser only do the test at the end of the file being parsed.

Please apply this patch to src/interface/ecpg/preproc/pgc.l

Nicolas BAZIN

Attachments:

pgc.l.diffapplication/octet-stream; name=pgc.l.diffDownload+2-3
#2Bruce Momjian
bruce@momjian.us
In reply to: Nicolas Bazin (#1)
Re: fix for BUG#599 & BUG 606

Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Nicolas Bazin wrote:

Please apply patch.
----- Original Message -----
From: Nicolas Bazin
To: pgsql-patches@postgresql.org
Sent: Tuesday, March 05, 2002 12:08 PM
Subject: Re: BUG#599 & BUG 606 correction

The end of a define section is tested too soon during the parsing of ecpg. This patch makes sure that the parser only do the test at the end of the file being parsed.

Please apply this patch to src/interface/ecpg/preproc/pgc.l

Nicolas BAZIN

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#3Bruce Momjian
bruce@momjian.us
In reply to: Nicolas Bazin (#1)
Re: fix for BUG#599 & BUG 606

Patch applied by Michael Meskes. Thanks.

---------------------------------------------------------------------------

Nicolas Bazin wrote:

Please apply patch.
----- Original Message -----
From: Nicolas Bazin
To: pgsql-patches@postgresql.org
Sent: Tuesday, March 05, 2002 12:08 PM
Subject: Re: BUG#599 & BUG 606 correction

The end of a define section is tested too soon during the parsing of ecpg. This patch makes sure that the parser only do the test at the end of the file being parsed.

Please apply this patch to src/interface/ecpg/preproc/pgc.l

Nicolas BAZIN

[ Attachment, skipping... ]

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026