> In fact, with $-as-identifier we'd have this useful property: given a
> lexically-recognizable identifier, substitution of a parameter token
> for the identifier does not require insertion of any whitespace to
> keep the parameter lexically recognizable.  Some of you will recall
> plpgsql bugs associated with the fact that the current lexer behavior
> does not have this property.  (The other direction doesn't work 100%,
> for example: "select $1from" is lexable, "select foofrom" isn't.  But
> that direction is much less interesting in practice.)
> 
> In short, $-as-identifier makes the lexer behavior noticeably cleaner
> than it is now.
> 
> I started out firmly in the "keep $ an operator character" camp.  But
> after thinking this through I'm sitting on the fence: both options seem
> about equally attractive to me.

Sure, if you want to remove it from operators, that is fine, but adding
it to identifiers seems weird seeing as only one person wants it and it
isn't standard.

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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to