Re: CLUSTER bug

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Darren Steven <dsteven(at)nettas(dot)telstra(dot)com(dot)au>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: CLUSTER bug
Date: 2000-05-11 01:10:40
Message-ID: 200005110110.VAA26546@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-bugs

Here is a reproducable failure for CLUSTER. Please, someone, find out
why this is happening so we can get it off our TODO list.

I now get:

test=> cluster i_te on prauflage;
ERROR: temp_4c92 is an index relation

---------------------------------------------------------------------------

It works. But why doesn't it work on my tables:

create table prauflage(
nr int4,
au int4,
pl text,
be text,
st int4,
vh bool,
ex int4,
primary key(nr,au));

prd=> create unique index i_te on prauflage(nr,au);
CREATE
prd=> cluster i_te on prauflage;
ERROR: Cannot create unique index. Table contains non-unique values

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2000-05-11 04:01:24 Re: CLUSTER bug
Previous Message Bruce Momjian 2000-05-11 01:01:25 Re: CLUSTER bug