Use EXECUTE FUNCTION syntax for triggers more

Enterprise / PostgreSQL - Peter Eisentraut [eisentraut.org] - 7 February 2019 08:21 EST

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

0c1f8f166c Use EXECUTE FUNCTION syntax for triggers more
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(-)

Upstream: git.postgresql.org


  • Share