Re: index scan with index cond on first column doesn't recognize sort order of second column

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: index scan with index cond on first column doesn't recognize sort order of second column
Date: 2003-02-14 04:32:42
Message-ID: 4088.1045197162@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Stark <gsstark(at)mit(dot)edu> writes:
> [ other stuff I'll respond to later ]

> Basic postgres mm question, is there a cdr function,

lfirst() == car(). lnext() == cdr(). Practically all the basic planner
datastructures were lifted from an original implementation in Lisp, and
other than these gratuitous(?) renamings, the semantics are still the
same.

> It all gets cleaned up with a ripcord deallocator?

Right. Garbage collection r us; don't worry about leaking a cons cell
here or there.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-14 04:45:29 Re: index scan with index cond on first column doesn't recognize sort order of second column
Previous Message Greg Stark 2003-02-14 04:23:16 Re: index scan with index cond on first column doesn't recognize sort order of second column