Re: CASE control block broken by a single line comment - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CASE control block broken by a single line comment
Date
Msg-id 557557.1712960458@sss.pgh.pa.us
Whole thread Raw
In response to Re: CASE control block broken by a single line comment  (Erik Wienhold <ewie@ewie.name>)
Responses Re: CASE control block broken by a single line comment
List pgsql-hackers
Erik Wienhold <ewie@ewie.name> writes:
> I'm surprised that the lexer handles compound tokens.  I'd expect to
> find that in the parser, especially because of using the context-aware
> plpgsql_ns_lookup to determine if we have a T_DATUM or T_{WORD,CWORD}.

I'm not here to defend plpgsql's factorization ;-).  However, it
doesn't really have a parser of its own, at least not for expressions,
so I'm not sure how your suggestion could be made to work.

            regards, tom lane



pgsql-hackers by date:

Previous
From: "Imseih (AWS), Sami"
Date:
Subject: Re: allow changing autovacuum_max_workers without restarting
Next
From: David Steele
Date:
Subject: Re: Add notes to pg_combinebackup docs