Thread: pgsql: Change PROCEDURE to FUNCTION in CREATE OPERATOR syntax
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> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d12782898eb5979bef3c6dd0d80b93d1aaf53cac Modified Files -------------- doc/src/sgml/extend.sgml | 2 +- doc/src/sgml/ref/create_operator.sgml | 12 ++++++++++-- doc/src/sgml/xoper.sgml | 4 ++-- src/backend/commands/operatorcmds.c | 20 ++++++++++++-------- src/bin/pg_dump/pg_dump.c | 2 +- src/test/regress/expected/create_operator.out | 6 +++--- src/test/regress/sql/create_operator.sql | 2 +- 7 files changed, 30 insertions(+), 18 deletions(-)