Re: advanced index (descending and table-presorted descending)

From: Greg Mitchell <gmitchell(at)atdesk(dot)com>
To: netsql <cekvenich(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: advanced index (descending and table-presorted descending)
Date: 2006-11-21 20:44:59
Message-ID: 4563654B.5090508@atdesk.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

First off, not sure this is the right list for this question (maybe
GENERAL, but HACKERS is for server coding)....

> Can pgSQL 8.x do descending indexes like mySQL 5.1?
> (so 1st column is descending and rest are asscending?)

Not sure why you want this... But you could create an operator class
with the operators backward I believe (i.e. make less-than use
greater-than).

> Can pgSQL 8.x do "physically" sorted table (like a forced index order)
> so we don't need order by?

See man cluster(7).

Greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message garry saddington 2006-11-21 20:45:37 Re: pg_dump
Previous Message Richard Huxton 2006-11-21 20:23:56 Re: pg_dump

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-11-21 20:56:18 Re: Open source databases '60 per cent
Previous Message netsql 2006-11-21 20:03:40 advanced index (descending and table-presorted descending)