Re: commit callback, request, SOLVED - Mailing list pgsql-hackers

From Horváth Sándor
Subject Re: commit callback, request, SOLVED
Date
Msg-id 4434E24D.9080103@ritek.hu
Whole thread Raw
In response to Re: commit callback, request, SOLVED  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Responses Re: commit callback, request, SOLVED  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi!
I have needed deferrable check, but it is not implemented. I thought, 
the deferrable trigger is the solution, but it is exists only for 
referential integrity. I have started to study the postgresql source 
code for implementing deferrable triggers for any purpose.

Now i try the constraint trigger, and it is good for using instead of 
deferrable check, but it is not intended general use.
In the documentation:
"CREATE CONSTRAINT TRIGGER is used within CREATE TABLE/ALTER TABLE and 
by pg_dump to create the special triggers for referential integrity. It 
is not intended for general use."

My question is, may i use it for this purpose (instead of deferrable 
check)?
What means "it is not intended for generally use"?

Regards Horváth Sándor



pgsql-hackers by date:

Previous
From: "孙高勇"
Date:
Subject: pgadmin III's Chinese simplified translations
Next
From: "Qingqing Zhou"
Date:
Subject: Re: Support Parallel Query Execution in Executor