Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christiaan Willemsen <cwillemsen(at)technocon(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence
Date: 2013-01-10 16:54:20
Message-ID: 7859.1357836860@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?utf-8?Q?Christiaan_Willemsen?= <cwillemsen(at)technocon(dot)com> writes:
> Back again ;) I just checked pg_depend, and according to it there is no relation between in de table and the sequence... There is however a relation between the new table and the old sequence (as expected). So this is sill a mistery.

Hm, I might have gotten the direction of the link backwards --- if you
swap objid and refobjid, do you find an entry linking the sequence to
the old table's default?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-01-10 17:44:35 Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence
Previous Message Christiaan Willemsen 2013-01-10 16:41:31 Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence