Re: [BUGS] ON DELETE CASCADE with multiple paths in PostgreSQL 9.x

2011-06-08 Thread Anton Dedov
@postgresql.org Subject: Re: [BUGS] ON DELETE CASCADE with multiple paths in PostgreSQL 9.x Anton Dedov writes: > We are using patched version of PostgreSQL 8.1 in order to work-around > bug described in > http://archives.postgresql.org/pgsql-bugs/2007-05/msg00130.php. Now, we > are going to upgrad

Re: [BUGS] ON DELETE CASCADE with multiple paths in PostgreSQL 9.x

2011-06-07 Thread Tom Lane
Anton Dedov writes: > We are using patched version of PostgreSQL 8.1 in order to work-around > bug described in > http://archives.postgresql.org/pgsql-bugs/2007-05/msg00130.php. Now, we > are going to upgrade to 9.0 and it also would be great to get rid of > patch as it makes keeping database

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-22 Thread Stephan Szabo
On Tue, 22 May 2007, Max Khon wrote: > Stephan Szabo wrote: > > > "delete from foo" fails: > > ERROR: update or delete on table "bar" violates foreign key constraint > > "foobar_fk0" on table "foobar" > > SQL state: 23503 > > Detail: Key (bar_id)=(1) is still referenced from ta

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-22 Thread Max Khon
Stephan Szabo wrote: > "delete from foo" fails: > ERROR: update or delete on table "bar" violates foreign key constraint > "foobar_fk0" on table "foobar" > SQL state: 23503 > Detail: Key (bar_id)=(1) is still referenced from table "foobar". > Context: SQL statement "DELETE

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-21 Thread Stephan Szabo
On Mon, 21 May 2007, Max Khon wrote: > Stephan Szabo wrote: > > On Thu, 17 May 2007, Tom Lane wrote: > > > >> Max Khon <[EMAIL PROTECTED]> writes: > >>> "delete from foo" fails: > >>> ERROR: update or delete on table "bar" violates foreign key constraint > >>> "foobar_fk0" on table "foobar" > >>>

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-21 Thread Max Khon
Stephan Szabo wrote: > On Thu, 17 May 2007, Tom Lane wrote: > >> Max Khon <[EMAIL PROTECTED]> writes: >>> "delete from foo" fails: >>> ERROR: update or delete on table "bar" violates foreign key constraint >>> "foobar_fk0" on table "foobar" >>> SQL state: 23503 >>> Detail: Key (bar_id)=(1) is stil

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-18 Thread Max Khon
Hi! Stephan Szabo wrote: >>> "delete from foo" fails: >>> ERROR: update or delete on table "bar" violates foreign key constraint >>> "foobar_fk0" on table "foobar" >>> SQL state: 23503 >>> Detail: Key (bar_id)=(1) is still referenced from table "foobar". >>> Context: SQL statement "DELETE FROM ON

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-17 Thread Stephan Szabo
On Thu, 17 May 2007, Tom Lane wrote: > Max Khon <[EMAIL PROTECTED]> writes: > > "delete from foo" fails: > > > ERROR: update or delete on table "bar" violates foreign key constraint > > "foobar_fk0" on table "foobar" > > SQL state: 23503 > > Detail: Key (bar_id)=(1) is still referenced from table

Re: [BUGS] ON DELETE CASCADE with multiple paths

2007-05-17 Thread Tom Lane
Max Khon <[EMAIL PROTECTED]> writes: > "delete from foo" fails: > ERROR: update or delete on table "bar" violates foreign key constraint > "foobar_fk0" on table "foobar" > SQL state: 23503 > Detail: Key (bar_id)=(1) is still referenced from table "foobar". > Context: SQL statement "DELETE FROM ONL