Re: Dollar in identifiers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dollar in identifiers
Date
Msg-id 10356.997981823@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dollar in identifiers  (Thomas Lockhart <lockhart@fourpalms.org>)
List pgsql-hackers
Thomas Lockhart <lockhart@fourpalms.org> writes:
> Are dollar signs currently allowed in operators?

Not at present.  If they were, you'd have a problem telling whether
"$12" is a parameter identifier or a prefix "$" operator applied to an
integer constant.

However, this is no argument for allowing them into identifiers, since
doing so will equally create lexing ambiguity where there was none
before.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patches (current CVS) for changes if index AM tables
Next
From: Justin Clift
Date:
Subject: Re: [GENERAL] PostgreSQL buffer exploits