Skip site navigation (1) Skip section navigation (2)

Re: Patch for Re: [HACKERS] Bug of PL/pgSQL parser

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: eutm(at)yandex(dot)ru, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Patch for Re: [HACKERS] Bug of PL/pgSQL parser
Date: 2002-07-30 19:20:51
Message-ID: 17904.1028056851@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I assume this completes the TODO item:
>         o Fix PL/PgSQL to handle quoted mixed-case identifiers

It would if it worked, but it doesn't --- for one thing, it seems
to allow empty identifiers (surely {DQUOTE}* should be {DQUOTE}+).
I'm not convinced it parses identifiers the same as the main scanner
does anyway.  Why not just lift the flex code for identifiers
out of parser/scan.l?

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2002-07-30 19:24:27
Subject: Re: Patch for Re: [HACKERS] Bug of PL/pgSQL parser
Previous:From: Tom LaneDate: 2002-07-30 19:01:55
Subject: Re: Bug #724: Problmes creating aggregate functions in 7.2.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group