Re: B-tree index with sorting question - Mailing list pgsql-general

From Tom Lane
Subject Re: B-tree index with sorting question
Date
Msg-id 13526.1293585766@sss.pgh.pa.us
Whole thread Raw
In response to B-tree index with sorting question  (bricklen <bricklen@gmail.com>)
Responses Re: B-tree index with sorting question  (Bricklen <bricklen@gmail.com>)
List pgsql-general
bricklen <bricklen@gmail.com> writes:
> In the docs at http://www.postgresql.org/docs/9.0/static/sql-createindex.html,
> I see that you can build indexes that include ordering.
> Eg. create index t_col_idx on t (col DESC NULLS LAST);

> Does that mean that the initial creation of the index acts like the
> CLUSTER command?

No, it just changes the order that the index keeps its entries in.

            regards, tom lane

pgsql-general by date:

Previous
From: Tsutomu Nakajima
Date:
Subject: Re: did freese in creating a database cluster
Next
From: "Bob Pawley"
Date:
Subject: Re: Restore problem