Skip to content
Snippets Groups Projects
Commit 0a63f996 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Change PROCEDURE to FUNCTION in CREATE TRIGGER syntax


Since procedures are now a different thing from functions, change the
CREATE TRIGGER and CREATE EVENT TRIGGER syntax to use FUNCTION in the
clause that specifies the function.  PROCEDURE is still accepted for
compatibility.

pg_dump and ruleutils.c output is not changed yet, because that would
require a change in information_schema.sql and thus a catversion change.

Reported-by: default avatarPeter Geoghegan <pg@bowt.ie>
Reviewed-by: default avatarJonathan S. Katz <jonathan.katz@excoventures.com>
parent d1278289
No related branches found
No related tags found
No related merge requests found
Showing with 62 additions and 41 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment