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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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