postgresql/src/bin
Tom Lane 1ed6b89563 Remove support for postfix (right-unary) operators.
This feature has been a thorn in our sides for a long time, causing
many grammatical ambiguity problems.  It doesn't seem worth the
pain to continue to support it, so remove it.

There are some follow-on improvements we can make in the grammar,
but this commit only removes the bare minimum number of productions,
plus assorted backend support code.

Note that pg_dump and psql continue to have full support, since
they may be used against older servers.  However, pg_dump warns
about postfix operators.  There is also a check in pg_upgrade.

Documentation-wise, I (tgl) largely removed the "left unary"
terminology in favor of saying "prefix operator", which is
a more standard and IMO less confusing term.

I included a catversion bump, although no initial catalog data
changes here, to mark the boundary at which oprkind = 'r'
stopped being valid in pg_operator.

Mark Dilger, based on work by myself and Robert Haas;
review by John Naylor

Discussion: https://postgr.es/m/38ca86db-42ab-9b48-2902-337a0d6b8311@2ndquadrant.com
2020-09-17 19:38:05 -04:00
..
initdb Refactor pg_get_line() to expose an alternative StringInfo-based API. 2020-09-06 14:13:19 -04:00
pg_archivecleanup Improve common/logging.c's support for multiple verbosity levels. 2020-09-17 12:52:18 -04:00
pg_basebackup Remove unused parameter 2020-09-10 16:13:19 +02:00
pg_checksums Avoid non-constant format string argument to fprintf(). 2020-08-18 13:13:09 +03:00
pg_config Translation updates 2020-05-18 12:49:30 +02:00
pg_controldata Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
pg_ctl Remove non-fast promotion. 2020-07-29 21:24:26 +09:00
pg_dump Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
pg_resetwal Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
pg_rewind Improve common/logging.c's support for multiple verbosity levels. 2020-09-17 12:52:18 -04:00
pg_test_fsync Switch pg_test_fsync to use binary mode on Windows 2020-07-16 15:52:37 +09:00
pg_test_timing Translation updates 2020-05-18 12:49:30 +02:00
pg_upgrade Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
pg_verifybackup Message fixes and style improvements 2020-09-14 06:42:30 +02:00
pg_waldump Correct several behavior descriptions in comments. 2020-08-15 20:21:52 -07:00
pgbench Improve common/logging.c's support for multiple verbosity levels. 2020-09-17 12:52:18 -04:00
pgevent Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
psql Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
scripts Message fixes and style improvements 2020-09-14 06:42:30 +02:00
Makefile Rename pg_validatebackup to pg_verifybackup. 2020-04-12 11:26:05 -04:00