|
|
|
|
@ -1,65 +1,3 @@ |
|
|
|
|
From ChrUllrich@gmx.de Fri Jun 18 15:01:15 1999 |
|
|
|
|
Received: from mail2.gmx.net (qmailr@mail2.gmx.net [194.221.183.62]) |
|
|
|
|
by candle.pha.pa.us (8.9.0/8.9.0) with SMTP id PAA02123 |
|
|
|
|
for <maillist@candle.pha.pa.us>; Fri, 18 Jun 1999 15:01:13 -0400 (EDT) |
|
|
|
|
Received: (qmail 1465 invoked by uid 0); 18 Jun 1999 18:40:59 -0000 |
|
|
|
|
Received: from pc19f7c08.dip.t-online.de (HELO christian.ullrich.net) (193.159.124.8) |
|
|
|
|
by mail2.gmx.net with SMTP; 18 Jun 1999 18:40:59 -0000 |
|
|
|
|
Received: (from chris@localhost) |
|
|
|
|
by christian.ullrich.net (8.9.3/8.9.3) id UAA02806 |
|
|
|
|
for maillist@candle.pha.pa.us; Fri, 18 Jun 1999 20:33:54 +0200 |
|
|
|
|
Date: Fri, 18 Jun 1999 20:33:54 +0200 |
|
|
|
|
From: Christian Ullrich <ChrUllrich@gmx.de> |
|
|
|
|
To: Bruce Momjian <maillist@candle.pha.pa.us> |
|
|
|
|
Subject: Re: [GENERAL] Two questions about 6.5 |
|
|
|
|
Message-ID: <19990618203354.A2716@christian.ullrich.net> |
|
|
|
|
References: <19990617204118.B8536@christian.ullrich.net> <199906181631.MAA29003@candle.pha.pa.us> |
|
|
|
|
Mime-Version: 1.0 |
|
|
|
|
Content-Type: text/plain; charset=iso-8859-1 |
|
|
|
|
Content-Transfer-Encoding: 8bit |
|
|
|
|
X-Mailer: Mutt 0.95.6i |
|
|
|
|
In-Reply-To: <199906181631.MAA29003@candle.pha.pa.us>; from Bruce Momjian on Fri, Jun 18, 1999 at 12:31:17PM -0400 |
|
|
|
|
Status: RO |
|
|
|
|
|
|
|
|
|
On Fri, Jun 18, 1999 at 12:31:17PM -0400, Bruce Momjian wrote: |
|
|
|
|
|
|
|
|
|
> Does this work for you? It works here: |
|
|
|
|
> |
|
|
|
|
> test=> create table te(x int, y int); |
|
|
|
|
> CREATE |
|
|
|
|
> test=> create unique index i_te on te(x,y); |
|
|
|
|
> CREATE |
|
|
|
|
> test=> cluster i_te on te; |
|
|
|
|
> CLUSTER |
|
|
|
|
|
|
|
|
|
It works. But why doesn't it work on my tables: |
|
|
|
|
|
|
|
|
|
create table prautor( |
|
|
|
|
nr int4, |
|
|
|
|
pi int4, |
|
|
|
|
primary key(nr,pi)); |
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
-- |
|
|
|
|
Christian Ullrich |
|
|
|
|
Registrierter Linux-User #125183 |
|
|
|
|
|
|
|
|
|
"Sie können nach R'ed'mond fliegen -- aber Sie werden sterben" |
|
|
|
|
|
|
|
|
|
From owner-pgsql-hackers@hub.org Thu Apr 16 15:00:41 1998 |
|
|
|
|
Received: from hub.org (hub.org [209.47.148.200]) |
|
|
|
|
by candle.pha.pa.us (8.8.5/8.8.5) with ESMTP id PAA25361 |
|
|
|
|
|