pgsql: Change PROCEDURE to FUNCTION in CREATE OPERATOR syntax

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Change PROCEDURE to FUNCTION in CREATE OPERATOR syntax
Date: 2018-08-22 13:13:18
Message-ID: E1fsSwo-000620-Vd@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)bowt(dot)ie>
Reviewed-by: Jonathan S. Katz <jonathan(dot)katz(at)excoventures(dot)com>

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fd4417e8ac46ea4cb079ed53f849dc48199506d6

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-08-22 13:45:45 pgsql: doc: Clarify some wording in PL/pgSQL about transactions
Previous Message Thomas Munro 2018-08-22 09:37:46 pgsql: Wrap long line in postgresql.conf.sample.