Re: B-tree index with sorting question

From: Bricklen <bricklen(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: B-tree index with sorting question
Date: 2010-12-29 04:28:23
Message-ID: 93903FA3-CFFB-41EB-A06C-3937E7D0F6FD@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2010-12-28, at 5:22 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> bricklen <bricklen(at)gmail(dot)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

And that holds true for all subsequents inserts too?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2010-12-29 04:45:14 Re: Restore problem
Previous Message Alan Hodgson 2010-12-29 04:12:30 Re: Restore problem