Disallow dollar sign in operator names, instead allow it as a non-first
Tom Lane <tgl@sss.pgh.pa.us>
Disallow dollar sign in operator names, instead allow it as a non-first character in identifiers. The first change eliminates the current need to put spaces around parameter references, as in "x<=$2". The second change improves compatibility with Oracle and some other RDBMSes. This was discussed and agreed to back in January, but did not get done.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/release.sgml | modified | +3 −1 |
| doc/src/sgml/syntax.sgml | modified | +19 −18 |
| src/backend/parser/scan.l | modified | +8 −8 |
| src/pl/plpgsql/src/scan.l | modified | +14 −12 |