Bug in ECPG preprocessor

Started by Sergey N. Yatskevichalmost 22 years ago3 messagesbugs
Jump to latest
#1Sergey N. Yatskevich
syatskevich@n21lab.gosniias.msk.ru

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

Attachments:

start.shapplication/x-shellscript; name=start.shDownload
test.pgctext/plain; charset=KOI8-R; name=test.pgcDownload
ecpg-7.4.1.patchtext/x-patch; charset=KOI8-R; name=ecpg-7.4.1.patchDownload+11-13
#2Bruce Momjian
bruce@momjian.us
In reply to: Sergey N. Yatskevich (#1)
Re: Bug in ECPG preprocessor

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
#3Bruce Momjian
bruce@momjian.us
In reply to: Sergey N. Yatskevich (#1)
Re: Bug in ECPG preprocessor

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