pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christiaan Willemsen <cwillemsen@technocon.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence
Date: Thu, 10 Jan 2013 11:54:20 -0500
Message-ID: <7859.1357836860@sss.pgh.pa.us> (raw)
In-Reply-To: <zarafa.50eeef3b.4685.167c904766c8b44e@meel.technocon.local>
References: <zarafa.50eeef3b.4685.167c904766c8b44e@meel.technocon.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

=?utf-8?Q?Christiaan_Willemsen?= <cwillemsen@technocon.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <7859.1357836860@sss.pgh.pa.us>
Permalink:  ../7859.1357836860@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7859.1357836860@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cwillemsen@technocon.com
  Subject: Re: BUG #7802: Cannot drop table because of dependant sequence, but there is link to sequence
  In-Reply-To: <7859.1357836860@sss.pgh.pa.us>
  References: <zarafa.50eeef3b.4685.167c904766c8b44e@meel.technocon.local> <7859.1357836860@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox