-
- Downloads
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:Peter Geoghegan <pg@bowt.ie> Reviewed-by:
Jonathan S. Katz <jonathan.katz@excoventures.com>
Showing
- doc/src/sgml/ddl.sgml 1 addition, 1 deletiondoc/src/sgml/ddl.sgml
- doc/src/sgml/event-trigger.sgml 2 additions, 2 deletionsdoc/src/sgml/event-trigger.sgml
- doc/src/sgml/func.sgml 3 additions, 3 deletionsdoc/src/sgml/func.sgml
- doc/src/sgml/information_schema.sgml 1 addition, 1 deletiondoc/src/sgml/information_schema.sgml
- doc/src/sgml/lo.sgml 1 addition, 1 deletiondoc/src/sgml/lo.sgml
- doc/src/sgml/plperl.sgml 2 additions, 2 deletionsdoc/src/sgml/plperl.sgml
- doc/src/sgml/plpgsql.sgml 8 additions, 8 deletionsdoc/src/sgml/plpgsql.sgml
- doc/src/sgml/pltcl.sgml 2 additions, 2 deletionsdoc/src/sgml/pltcl.sgml
- doc/src/sgml/ref/create_event_trigger.sgml 10 additions, 2 deletionsdoc/src/sgml/ref/create_event_trigger.sgml
- doc/src/sgml/ref/create_trigger.sgml 16 additions, 8 deletionsdoc/src/sgml/ref/create_trigger.sgml
- doc/src/sgml/tcn.sgml 1 addition, 1 deletiondoc/src/sgml/tcn.sgml
- doc/src/sgml/textsearch.sgml 2 additions, 2 deletionsdoc/src/sgml/textsearch.sgml
- doc/src/sgml/trigger.sgml 2 additions, 2 deletionsdoc/src/sgml/trigger.sgml
- src/backend/parser/gram.y 7 additions, 2 deletionssrc/backend/parser/gram.y
- src/test/regress/expected/triggers.out 2 additions, 2 deletionssrc/test/regress/expected/triggers.out
- src/test/regress/sql/triggers.sql 2 additions, 2 deletionssrc/test/regress/sql/triggers.sql
Loading
Please register or sign in to comment