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