Re: [SQL] Problem with SET CONSTRAINTS ALL DEFERRED;

2006-05-19 Thread Stephan Szabo
On Fri, 19 May 2006, Kaloyan Iliev wrote: > Hi Friends, > > I am trying to postpone the foreign key constraint check till the end of > transaction but it doesn't work. > Can anyone help me with a tip what I am doing wrong. Was the constraint created as deferrable (which is not the default)? ALL D

[SQL] Problem with SET CONSTRAINTS ALL DEFERRED;

2006-05-19 Thread Kaloyan Iliev
Hi Friends, I am trying to postpone the foreign key constraint check till the end of transaction but it doesn't work. Can anyone help me with a tip what I am doing wrong. Thanks in advance. Kaloyan Iliev test=# BEGIN; BEGIN test=# test=# SET CONSTRAINTS ALL DEFERRED; SET CONSTRAINTS test=#