Re: CLUSTER bug - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: CLUSTER bug
Date
Msg-id 200005110110.VAA26546@candle.pha.pa.us
Whole thread Raw
In response to CLUSTER bug  (Darren Steven <dsteven@nettas.telstra.com.au>)
List 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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: CLUSTER bug
Next
From: Tom Lane
Date:
Subject: Re: CLUSTER bug