-
- Downloads
Modify lexing of multi-char operators per pghackers discussion around
16-Mar-00: trailing + or - is not part of the operator unless the operator also contains characters not present in SQL92-defined operators. This solves the 'X=-Y' problem without unduly constraining users' choice of operator names --- in particular, no existing Postgres operator names become invalid. Also, remove processing of // comments, as agreed in the same thread.
Showing
- doc/src/sgml/ref/create_operator.sgml 60 additions, 27 deletionsdoc/src/sgml/ref/create_operator.sgml
- doc/src/sgml/syntax.sgml 16 additions, 9 deletionsdoc/src/sgml/syntax.sgml
- src/backend/parser/scan.l 62 additions, 18 deletionssrc/backend/parser/scan.l
- src/bin/psql/mainloop.c 2 additions, 3 deletionssrc/bin/psql/mainloop.c
- src/interfaces/ecpg/preproc/pgc.l 71 additions, 24 deletionssrc/interfaces/ecpg/preproc/pgc.l
Loading
Please register or sign in to comment