pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: valgog <valgog@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: multicolumn index column order
Date: Mon, 23 Jul 2007 13:00:40 -0400
Message-ID: <28463.1185210040@sss.pgh.pa.us> (raw)
In-Reply-To: <1185209223.224236.163350@57g2000hsv.googlegroups.com>
References: <1185209223.224236.163350@57g2000hsv.googlegroups.com>

valgog <valgog@gmail.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



view thread (7+ messages)  latest in thread

Message-ID: <28463.1185210040@sss.pgh.pa.us>
Permalink:  ../28463.1185210040@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28463.1185210040@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, valgog@gmail.com
  Subject: Re: multicolumn index column order
  In-Reply-To: <28463.1185210040@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox