pgsql-server/src/backend/commands trigger.c

Поиск
Список
Период
Сортировка
Искать

pgsql-server/src/backend/commands trigger.c

От:
momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	momjian@postgresql.org	03/01/08 17:28:32

Modified files:
	src/backend/commands: trigger.c 

Log message:
	This trivial patch implements disabled, deferred triggers, per my
	proposal on -hackers a couple days ago. The 'tgenabled' status of the
	trigger is consulted when the trigger is added to the deferred queue
	(i.e. when the event occurs that fires the trigger), not when the
	deferred event is executed.
	
	No regression tests, as another bug prevents them (the pg_trigger row
	for a trigger is only loaded once per session, so any changes to it are
	not noticed unless the client disconnects and reconnects).
	
	Neil Conway

FAQ