From: | "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu> |
---|---|
To: | Dariusz Pietrzak <dariush(at)ajax(dot)umcs(dot)lublin(dot)pl> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: CLUSTER. |
Date: | 2001-06-15 15:32:53 |
Message-ID: | Pine.LNX.4.21.0106151129490.19889-100000@aluminum.cs.pitt.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Read what the command CLUSTER does. Definately not what you think.
You create clustered indeces as you would any index:
create index lala_idx on lala (col1,col2,...);
cheers,
thalis
On Fri, 15 Jun 2001, Dariusz Pietrzak wrote:
> Hello,
> how can I create clustered index on given table?
> When I try "cluster indexname on tablename" it drops and recreates this
> table, effectively dropping all constraints.
> Can I create clustered index without loosing my foreign key etc
> constraints?
>
> --
> Dariusz Pietrzak
> Certified Nobody
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
From | Date | Subject | |
---|---|---|---|
Next Message | Thalis A. Kalfigopoulos | 2001-06-15 15:35:30 | Ellison pops a price surprise at Oracle 9i launch |
Previous Message | Gunnar Rønning | 2001-06-15 15:23:10 | The bytea datatype and JDBC |