Remove grammar productions for prefix and postfix % and ^ operators,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Jun 2005 21:15:29 +0000 (21:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Jun 2005 21:15:29 +0000 (21:15 +0000)
commit77c168a836e4bec87461107a84d7b7bcf2b58156
tree8a1fff687b08157b5b6ad0552e6991c8a944f46f
parentf5b2f60bd1084e218358adba04604147e5429233
Remove grammar productions for prefix and postfix % and ^ operators,
as well as the existing pg_catalog entries for prefix and postfix %.
These have never been documented, though they did appear in one old
regression test.  This avoids surprising behavior in cases like
"SELECT -25 % -10".  Per recent discussion.
Note: although there is a catalog change here, I did not force initdb
since there's no harm in leaving the inaccessible entries in one's
copy of pg_operator.
doc/src/sgml/ref/comment.sgml
src/backend/parser/gram.y
src/include/catalog/pg_operator.h
src/test/regress/expected/float8-exp-three-digits-win32.out
src/test/regress/expected/float8-exp-three-digits.out
src/test/regress/expected/float8-small-is-zero.out
src/test/regress/expected/float8-small-is-zero_1.out
src/test/regress/expected/float8.out
src/test/regress/sql/float8.sql