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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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:24:27
Message-ID: 200207301924.g6UJORn12389@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> 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?

I would love to know why doing this TODO item is so hard. Every time I
ask Jan, he says it is very hard and it never gets done.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2002-07-30 19:33:26 Re: Bug #718: request for improvement of /? to show /d+ /l+
Previous Message Tom Lane 2002-07-30 19:20:51 Re: Patch for Re: [HACKERS] Bug of PL/pgSQL parser