Thread: pgsql: Use EXECUTE FUNCTION syntax for triggers more

pgsql: Use EXECUTE FUNCTION syntax for triggers more

From
Peter Eisentraut
Date:
Use EXECUTE FUNCTION syntax for triggers more

Change pg_dump and ruleutils.c to use the FUNCTION keyword instead of
PROCEDURE in trigger and event trigger definitions.

This completes the pieces of the transition started in
0a63f996e018ac508c858e87fa39cc254a5db49f that were kept out of
PostgreSQL 11 because of the required catversion change.

Discussion: https://www.postgresql.org/message-id/381bef53-f7be-29c8-d977-948e389161d6@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c1f8f166cb6273ab9c06a5f3c2ebedbf36f93e9

Modified Files
--------------
src/backend/catalog/information_schema.sql |  4 +--
src/backend/utils/adt/ruleutils.c          |  2 +-
src/bin/pg_dump/pg_dump.c                  |  4 +--
src/bin/pg_dump/t/002_pg_dump.pl           |  8 ++---
src/include/catalog/catversion.h           |  2 +-
src/test/regress/expected/triggers.out     | 56 +++++++++++++++---------------
6 files changed, 38 insertions(+), 38 deletions(-)