pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Murphy Pope <pope_murphy@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: ORDER BY and NULLs
Date: Sat, 30 Oct 2004 20:00:25 -0400
Message-ID: <AWVgd.1165$j15.1000@fe25.usenetserver.com> (raw)
References: <011d01c49e5b$c88fdb20$2766f30a@development.greatgulfhomes.com>
	<414DB1AB.5080207@sympatico.ca>
	<414DB594.5000300@numerixtechnology.de>
	<19733.1095613137@sss.pgh.pa.us>
	<414DBF6D.8040500@numerixtechnology.de>
	<87zn3mjeaw.fsf@stark.xeocode.com>

> You should just cross out that whole section. It's just flatly wrong.
> 
> I had always assumed it was just people bringing assumptions over from
> Oracle where it is true. Perhaps this book is to blame for some of the
> confusion. Which book is it?
> 
> Postgres indexes NULLs. It can use them for ORDER BY clauses.

I know this is an old-ish topic, but the question keeps coming up and I see
different answers every time.

I think I found the definitive answer and it looks like everyone (Bruce,
Tom, the book) is half-right.  Maybe this should go in a FAQ or something
since there seems to be so much confusion.



view thread (16+ messages)

Message-ID: <AWVgd.1165$j15.1000@fe25.usenetserver.com>
Permalink:  ../AWVgd.1165$j15.1000@fe25.usenetserver.com/
Also on:    postgresql.org/message-id/AWVgd.1165$j15.1000@fe25.usenetserver.com

 · 

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-sql@postgresql.org
  Cc: pope_murphy@hotmail.com
  Subject: Re: ORDER BY and NULLs
  In-Reply-To: <AWVgd.1165$j15.1000@fe25.usenetserver.com>

* 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