From: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Lukas Kahwe Smith <smith(at)pooteeweet(dot)org>, Neil Conway <neilc(at)samurai(dot)com> |
Subject: | Re: bug or feature, || -operator and NULLs |
Date: | 2006-10-19 01:27:57 |
Message-ID: | 200610182127.58064.xzilla@users.sourceforge.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wednesday 18 October 2006 10:35, Lukas Kahwe Smith wrote:
> Neil Conway wrote:
> > I think a more sensible proposal could be made for some sort of optional
> > "compatibility mode", as has been discussed many times in the past:
> > different NULL handling could theoretically be part of an Oracle SQL
> > dialect.
>
> even more exciting in this context would be to add user controllable
> NULL sorting behaviour. afaik this is in sql:2003.
>
Something like
pagila=# select staff_id from staff order by picture is not null;
staff_id
----------
2
1
(2 rows)
pagila=# select staff_id from staff order by picture;
staff_id
----------
1
2
(2 rows)
--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL
From | Date | Subject | |
---|---|---|---|
Next Message | Indira Muthuswamy | 2006-10-19 06:58:58 | Re: [HACKERS] Bug? |
Previous Message | Gavin Sherry | 2006-10-19 00:25:05 | Re: Bitmap index status |