Change PROCEDURE to FUNCTION in CREATE OPERATOR syntax
Peter Eisentraut <peter_e@gmx.net>
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>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/extend.sgml | modified | +1 −1 |
| doc/src/sgml/ref/create_operator.sgml | modified | +10 −2 |
| doc/src/sgml/xoper.sgml | modified | +2 −2 |
| src/backend/commands/operatorcmds.c | modified | +12 −8 |
| src/bin/pg_dump/pg_dump.c | modified | +1 −1 |
| src/test/regress/expected/create_operator.out | modified | +3 −3 |
| src/test/regress/sql/create_operator.sql | modified | +1 −1 |