Re: multicolumn index column order

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: valgog <valgog(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: multicolumn index column order
Date: 2007-07-23 17:00:40
Message-ID: 28463.1185210040@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

valgog <valgog(at)gmail(dot)com> writes:
> how to build an multicolumn index with one column order ASCENDING and
> another column order DESCENDING?

Use 8.3 ;-)

In existing releases you could fake it with a custom reverse-sorting
operator class, but it's a pain in the neck to create one.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message valgog 2007-07-23 17:13:16 Re: multicolumn index column order
Previous Message valgog 2007-07-23 16:47:03 multicolumn index column order