OSDN Git Service

Create separate ON INSERT and ON UPDATE triggers on tables with foreign
authorNeil Conway <neilc@samurai.com>
Mon, 30 May 2005 06:52:38 +0000 (06:52 +0000)
committerNeil Conway <neilc@samurai.com>
Mon, 30 May 2005 06:52:38 +0000 (06:52 +0000)
commitf99b75b0a0ee642a87a10726ba8f6831c1c95cc7
tree55a1b12aceb1d7644fe3a888f121b18b7d496ea6
parent0832fb74dfc4128e6b2a7b38f84cbc4dd4bb46e5
Create separate ON INSERT and ON UPDATE triggers on tables with foreign
keys, rather than a single trigger for both events. This should not change
functionality, but it is more consistent: previously, there were trigger
functions for both "check_insert" and "check_update", but the former was
used for both events.

Bump catalog version number (not strictly necessary, but best to be
cautious).
src/backend/commands/tablecmds.c
src/include/catalog/catversion.h