Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

Next:From: Tom LaneDate: 2000-05-11 04:01:24
Subject: Re: CLUSTER bug
Previous:From: Bruce MomjianDate: 2000-05-11 01:01:25
Subject: Re: CLUSTER bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group