]> granicus.if.org Git - postgresql/commit
Change PROCEDURE to FUNCTION in CREATE OPERATOR syntax
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 15 Aug 2018 16:05:46 +0000 (18:05 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 22 Aug 2018 12:45:07 +0000 (14:45 +0200)
commitfd4417e8ac46ea4cb079ed53f849dc48199506d6
tree904c965c1d5b28b4df680afc3c187f3e0a0e3c8b
parentb7b16605db8804161097f80df0fef703a0d19b61
Change PROCEDURE to FUNCTION in CREATE OPERATOR syntax

Since procedures are now a different thing from functions, change the
CREATE OPERATOR syntax to use FUNCTION in the clause that specifies the
function.  PROCEDURE is still accepted for compatibility.

Reported-by: Peter Geoghegan <pg@bowt.ie>
Reviewed-by: Jonathan S. Katz <jonathan.katz@excoventures.com>
doc/src/sgml/extend.sgml
doc/src/sgml/ref/create_operator.sgml
doc/src/sgml/xoper.sgml
src/backend/commands/operatorcmds.c
src/bin/pg_dump/pg_dump.c
src/test/regress/expected/create_operator.out
src/test/regress/sql/create_operator.sql