Thread: Bug in ECPG preprocessor

Bug in ECPG preprocessor

From
"Sergey N. Yatskevich"
Date:
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@n21lab.gosniias.msk.ru>
GosNIIAS

Attachment

Re: Bug in ECPG preprocessor

From
Bruce Momjian
Date:
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@n21lab.gosniias.msk.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: Bug in ECPG preprocessor

From
Bruce Momjian
Date:
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@n21lab.gosniias.msk.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073