Add transition table support to plpgsql

Enterprise / PostgreSQL - Kevin Grittner [postgresql.org] - 1 April 2017 00:30 EDT

Kevin Grittner and Thomas Munro Reviewed by Heikki Linnakangas, David Fetter, and Thomas Munro with valuable comments and suggestions from many others

5970271 Add transition table support to plpgsql.
doc/src/sgml/ref/create_trigger.sgml | 5 +
src/pl/plpgsql/src/pl_comp.c | 13 +-
src/pl/plpgsql/src/pl_exec.c | 47 ++++++
src/pl/plpgsql/src/plpgsql.h | 14 +-
src/test/regress/expected/plpgsql.out | 287 +++++++++++++++++++++++++++++++++
src/test/regress/expected/triggers.out | 24 +++
src/test/regress/sql/plpgsql.sql | 283 ++++++++++++++++++++++++++++++++
src/test/regress/sql/triggers.sql | 23 +++
8 files changed, 685 insertions(+), 11 deletions(-)

Upstream: git.postgresql.org


  • Share