Re: Does anybody use ORDER BY x USING y?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hannu Krosing <hannu(at)skype(dot)net>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, John Hansen <john(at)geeknet(dot)com(dot)au>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Does anybody use ORDER BY x USING y?
Date: 2005-09-19 00:02:38
Message-ID: 87vf0xq601.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Hannu Krosing <hannu(at)skype(dot)net> writes:
> > I think that placement of NULL's should be a property of ORDER BY and
> > separated from opclass.
>
> That would be an extremely bad idea, because it would immediately remove
> index scans as one way to meet an ORDER BY.

Well couldn't the index scan be taught to go fetch the NULLs in a separate
traversal?

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-19 03:23:01 Re: Does anybody use ORDER BY x USING y?
Previous Message Andrew Dunstan 2005-09-18 23:04:05 Re: Does anybody use ORDER BY x USING y?