X-Original-To: pgsql-general@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 42E67475E3A for ; Thu, 13 Feb 2003 23:32:58 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id F4017475DAD for ; Thu, 13 Feb 2003 23:32:39 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1E4Wh5u004089; Thu, 13 Feb 2003 23:32:43 -0500 (EST) To: Greg Stark Cc: Stephan Szabo , pgsql-general@postgresql.org Subject: Re: index scan with index cond on first column doesn't recognize sort order of second column In-reply-to: <877kc3jxsb.fsf@stark.dyndns.tv> References: <20030213113156.T47380-100000@megazone23.bigpanda.com> <87u1f7kf1y.fsf@stark.dyndns.tv> <1915.1045178941@sss.pgh.pa.us> <87isvnk708.fsf@stark.dyndns.tv> <3081.1045187252@sss.pgh.pa.us> <877kc3jxsb.fsf@stark.dyndns.tv> Comments: In-reply-to Greg Stark message dated "13 Feb 2003 23:23:16 -0500" Date: Thu, 13 Feb 2003 23:32:42 -0500 Message-ID: <4088.1045197162@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/754 X-Sequence-Number: 37508 Greg Stark 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