]> 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:44:49 +0000 (14:44 +0200)
commitd12782898eb5979bef3c6dd0d80b93d1aaf53cac
tree6d795cc771c20c972f5eef4a05f7c2ac7576db9f
parentb19495772e48ecd32de9a906ddf8c25e16007575
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