Re: Bug in ECPG preprocessor

Lists: pgsql-bugs
From: "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
To: PostgreSQL BUGS <pgsql-bugs(at)postgresql(dot)org>
Subject: Bug in ECPG preprocessor
Date: 2004-05-26 21:53:52
Message-ID: 1085608432.7310.8.camel@snc.n21lab.gosniias.msk.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const,
volatile, static, and register keywords before variables,
declared as VARCHAR.

I attach to this mail example for this, and patch for PostgreSQL
7.4.1, that solves this problem (this patch also applicable to
PostgreSQL 7.4.2 too)

--
Sergey N. Yatskevich <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
GosNIIAS

Attachment Content-Type Size
start.sh application/x-shellscript 321 bytes
test.pgc text/plain 995 bytes
ecpg-7.4.1.patch text/x-patch 3.9 KB

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
Cc: PostgreSQL BUGS <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug in ECPG preprocessor
Date: 2004-06-10 02:18:10
Message-ID: 200406100218.i5A2IAC24048@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


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

http://momjian.postgresql.org/cgi-bin/pgpatches

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

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

Sergey N. Yatskevich wrote:
> ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const,
> volatile, static, and register keywords before variables,
> declared as VARCHAR.
>
> I attach to this mail example for this, and patch for PostgreSQL
> 7.4.1, that solves this problem (this patch also applicable to
> PostgreSQL 7.4.2 too)
>
> --
> Sergey N. Yatskevich <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
> GosNIIAS

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Sergey N(dot) Yatskevich" <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
Cc: PostgreSQL BUGS <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug in ECPG preprocessor
Date: 2004-06-11 17:33:10
Message-ID: 200406111733.i5BHXAv10403@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


OK, patch applied to 7.4.X and current. Michael Meskes reviewed the
patch. Thanks.

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

Sergey N. Yatskevich wrote:
> ECPG preprocessor for PostgreSQL 7.4.1, 7.4.2 doubles const,
> volatile, static, and register keywords before variables,
> declared as VARCHAR.
>
> I attach to this mail example for this, and patch for PostgreSQL
> 7.4.1, that solves this problem (this patch also applicable to
> PostgreSQL 7.4.2 too)
>
> --
> Sergey N. Yatskevich <syatskevich(at)n21lab(dot)gosniias(dot)msk(dot)ru>
> GosNIIAS

[ Attachment, skipping... ]

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073