Re: Table both does not and does exist! wth?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, melvin6925(at)yahoo(dot)com
Subject: Re: Table both does not and does exist! wth?
Date: 2010-12-17 16:47:38
Message-ID: 1310.1292604458@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> This seems to indicate it's the xtmp_changed_ids INDEX that
> already exists, not the xtmp_changed_ids TABLE.

Oh, of course: he's got this:

CREATE TABLE xtmp_changed_ids
...
CONSTRAINT xtmp_changed_ids PRIMARY KEY (seq_all)

so he's trying to force the pkey index to have the same name as the
table. Doesn't work.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2010-12-17 17:17:07 Re: DB files, sizes and cleanup
Previous Message Melvin Davidson 2010-12-17 16:34:59 Re: Table both does not and does exist! wth?