Re: Unable to drop a table due to seemingly non-existent dependencies

From: David Brain <dbrain(at)bandwidth(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Unable to drop a table due to seemingly non-existent dependencies
Date: 2009-09-10 21:18:07
Message-ID: 849c74160909101418wa014859yc990bfd001b8ac56@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Thu, Sep 10, 2009 at 2:55 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

>
> The "ownership" link is still there, evidently, and should be switched
> to the new table.  Read up on ALTER SEQUENCE OWNED BY.
>
>                        regards, tom lane
>

Thank you - that was the issue, once the ownership was switched to the
new tables I was able to drop the old ones. That's certainly
something I've learned about Postgres today.

David

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Grant Maxwell 2009-09-10 22:02:41 Re: "show all" command crashes server
Previous Message Pavel Stehule 2009-09-10 20:33:27 Re: Getting the oid of an anyelement