Re: Problem dropping table

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem dropping table
Date: 2007-09-18 18:10:47
Message-ID: 200709181110.47169@hal.simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 18 September 2007 10:30, Ken Logan <ken(at)i2rd(dot)com> wrote:
> When we try to drop the table we get the error:
> ERROR: "member_pkey" is an index

You have to remove the table from it's Slony set before you can drop it.
Slony does some hackish things to subscriber tables that make them
unusable for normal DDL operations.

Your master probably isn't too thrilled, either, since it probably
thinks the table is still in a set.

In any case, you'd probably have better luck with this on the Slony
list. I'm not at all sure your problem can be fixed without discarding
the slave, but someone there might know.

--
"Corruptissima republica, plurimae leges" (The more corrupt the state,
the more laws.) - Tacitus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan99 2007-09-18 18:26:41 PG_DUMP not working
Previous Message Ken Logan 2007-09-18 17:30:52 Problem dropping table