Re: Need A Suggestion - Mailing list pgsql-hackers

From Ilia Kantor
Subject Re: Need A Suggestion
Date
Msg-id auto-000577355138@umail.ru
Whole thread Raw
In response to Re: Need A Suggestion  (Hannu Krosing <hannu@skype.net>)
Responses Re: Need A Suggestion
List pgsql-hackers
> Is there a simple, user-accessible mechanism to schedule a function to
> be run at query commit ?

CONSTRAINT TRIGGER (DEFERRABLE)

It is kinda hack, because CONSTRAINT TRIGGERs are not indended for such use,
But there are no other "ON COMMIT" triggers in postgresql.




pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: relational class vs partitioned table (was
Next
From: Emil Briggs
Date:
Subject: Re: Spinlocks and CPU Architectures