postgresql/src/bin/pg_upgrade
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
..
po Translation updates 2020-05-18 12:49:30 +02:00
.gitignore Ignore file generated during pg_upgrade testing 2018-04-30 12:39:29 -04:00
IMPLEMENTATION Fix wording in pg_upgrade docs 2017-05-05 12:42:21 +02:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
TESTING Update stale comments, and fix comment typos. 2019-06-08 10:12:26 -07:00
check.c Remove support for postfix (right-unary) operators. 2020-09-17 19:38:05 -04:00
controldata.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dump.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
exec.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
file.c Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS 2020-03-04 08:22:54 +01:00
function.c Invent "trusted" extensions, and remove the pg_pltemplate catalog. 2020-01-29 18:42:43 -05:00
info.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Translation updates 2020-05-11 13:14:32 +02:00
option.c Enable Unix-domain sockets support on Windows 2020-03-28 15:01:01 +01:00
parallel.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_upgrade.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_upgrade.h Move pg_upgrade's Windows link() implementation to AC_REPLACE_FUNCS 2020-03-04 08:22:54 +01:00
relfilenode.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
server.c Move connect.h from fe_utils to src/include/common. 2020-08-10 09:22:54 -07:00
tablespace.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00
test.sh Create by default sql/ and expected/ for output directory in pg_regress 2020-06-13 14:04:56 +09:00
util.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
version.c Remove duplicated words in comments 2020-02-18 12:20:55 +09:00