Re: [HACKERS] WIP: ALTER TABLE ... ALTER CONSTRAINT ... SET DEFERRABLE on UNIQUE or PK

2015-06-26 Thread Dean Rasheed
On 26 June 2015 at 07:20, Craig Ringer wrote: > Hi all > > Attached is a patch to implement ALTER TABLE ... ALTER CONSTRAINT ... > SET DEFERRABLE on UNIQUE or PRIMARY KEY constraints. > > Currently only FOREIGN KEY constraints are supported. Others are rejected > with: > +1 I was disappointed th

[HACKERS] WIP: ALTER TABLE ... ALTER CONSTRAINT ... SET DEFERRABLE on UNIQUE or PK

2015-06-25 Thread Craig Ringer
Hi all Attached is a patch to implement ALTER TABLE ... ALTER CONSTRAINT ... SET DEFERRABLE on UNIQUE or PRIMARY KEY constraints. Currently only FOREIGN KEY constraints are supported. Others are rejected with: constraint \"%s\" of relation \"%s\" is not a foreign key constraint The patch also a