Re: Unable to drop sequence due to dependency?

From: Glen Parker <glenebob(at)nwlink(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Unable to drop sequence due to dependency?
Date: 2009-03-05 01:50:49
Message-ID: 49AF2FF9.3040807@nwlink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Glen Parker <glenebob(at)nwlink(dot)com> writes:
>> For some reason I got into my head the notion that a sequence could be
>> dropped even if reference by a field default. This seems pretty silly now.
>
> It was true once upon a time, but we have an enforcement mechanism now
> to catch that. Did you find the default you needed to get rid of?
> That 2604 row should be it.

I did find it. 2604 is "pg_attrref", which now that you point it out
makes a certain amount of sense, but I would have had no idea what to do
with that an hour ago.

Thanks :-)

-Glen

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Liraz Siri 2009-03-05 03:47:13 New version of TurnKey PostgreSQL appliance
Previous Message Tom Lane 2009-03-05 01:42:17 Re: Unable to drop sequence due to dependency?