Re: descending Indexes

From: "Relaxin" <noname(at)spam(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: descending Indexes
Date: 2003-09-05 01:24:01
Message-ID: bj8oiu$17lj$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yes, I really *need* a descending index.

How do you do a backward scan on an index?

"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote in message
news:17675(dot)1062723498(at)sss(dot)pgh(dot)pa(dot)us(dot)(dot)(dot)
> Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> writes:
> > On Thu, 4 Sep 2003, Bupp Phillips wrote:
> >> I can't find a way to create descending Indexes in PG. Is this
possible?
>
> > You can do it, but it's a bit difficult.
>
> Do you really *need* a descending index? In most cases a backwards scan
> on a regular index gets the job done.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Browne 2003-09-05 01:40:31 Re: descending Indexes
Previous Message Tom Lane 2003-09-05 01:12:40 Re: [HACKERS] tablelevel and rowlevel locks