NULLs and sort order

Lists: pgsql-docspgsql-patches
From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: pgsql-docs(at)postgresql(dot)org
Subject: NULLs and sort order
Date: 2001-09-09 14:58:18
Message-ID: 7b0npts2v4csnqttdoviurtnsbvafape0v@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

I'm forwarding this information from Peter Eisentraut on
pgsql-hackers about NULLs and sort order. I couldn't find this
in the documentation.

I guess it should be in "ORDER BY Clause" of "SELECT" in the
Reference Manual, and in the 7.2 release notes.

Can someone add this to the documentation?

Or am I expected to submit a patch on the Docbook sources?

On Sun, 9 Sep 2001 15:25:17 +0200 (CEST), Peter Eisentraut
<peter_e(at)gmx(dot)net> wrote:
>Rene Pijlman writes:
>> Currently the JDBC driver says:
>> - Backend >= 7.2 sorts nulls higher than any other value in a
>> domain. In other words: ascending means nulls at the end,
>> descending means nulls at the start.
>> - Backend < 7.2 puts nulls at the end regardless of sort order.
>
>That is correct.
>
>--
>Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>


From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: NULLs and sort order
Date: 2001-09-11 15:13:22
Message-ID: 3B9E2A12.7C6E3BAF@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

...
> Or am I expected to submit a patch on the Docbook sources?
...

"Expected"? No. But it sure would be preferable since you would get it
the way you think it should be, and others could spend time on other
things.

An alternative, if you are not comfortable diving into sgml markup, is
to find the place in the sgml where the changes should be, but just put
them in without markup. Someone else like Peter or myself would be happy
to fix up the markup.

- Thomas


From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: pgsql-patches(at)postgresql(dot)org
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: NULLs and sort order
Date: 2001-10-28 21:39:23
Message-ID: v9uottkoaj7blja5g8ga1gr0k3008m06dt@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Attached is a small patch for the Reference Manual which adds
information about nulls and sort order.

This is based on information obtained from Peter Eisentraut and
Tom Lane on pgsql-hackers.

Please check my English and Docbook markup, as both are a second
language to me.

On Sun, 09 Sep 2001 16:58:18 +0200, I wrote:
>I'm forwarding this information from Peter Eisentraut on
>pgsql-hackers about NULLs and sort order. I couldn't find this
>in the documentation.
>
>I guess it should be in "ORDER BY Clause" of "SELECT" in the
>Reference Manual, and in the 7.2 release notes.
>
>Can someone add this to the documentation?
>
>Or am I expected to submit a patch on the Docbook sources?
>
>On Sun, 9 Sep 2001 15:25:17 +0200 (CEST), Peter Eisentraut
><peter_e(at)gmx(dot)net> wrote:
>>Rene Pijlman writes:
>>> Currently the JDBC driver says:
>>> - Backend >= 7.2 sorts nulls higher than any other value in a
>>> domain. In other words: ascending means nulls at the end,
>>> descending means nulls at the start.
>>> - Backend < 7.2 puts nulls at the end regardless of sort order.
>>
>>That is correct.
>>
>>--
>>Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

Attachment Content-Type Size
patch.diff text/plain 807 bytes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: NULLs and sort order
Date: 2001-10-29 19:27:27
Message-ID: 200110291927.f9TJRRw12918@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

> Attached is a small patch for the Reference Manual which adds
> information about nulls and sort order.
>
> This is based on information obtained from Peter Eisentraut and
> Tom Lane on pgsql-hackers.
>
> Please check my English and Docbook markup, as both are a second
> language to me.
>
> On Sun, 09 Sep 2001 16:58:18 +0200, I wrote:
> >I'm forwarding this information from Peter Eisentraut on
> >pgsql-hackers about NULLs and sort order. I couldn't find this
> >in the documentation.
> >
> >I guess it should be in "ORDER BY Clause" of "SELECT" in the
> >Reference Manual, and in the 7.2 release notes.
> >
> >Can someone add this to the documentation?
> >
> >Or am I expected to submit a patch on the Docbook sources?
> >
> >On Sun, 9 Sep 2001 15:25:17 +0200 (CEST), Peter Eisentraut
> ><peter_e(at)gmx(dot)net> wrote:
> >>Rene Pijlman writes:
> >>> Currently the JDBC driver says:
> >>> - Backend >= 7.2 sorts nulls higher than any other value in a
> >>> domain. In other words: ascending means nulls at the end,
> >>> descending means nulls at the start.
> >>> - Backend < 7.2 puts nulls at the end regardless of sort order.
> >>
> >>That is correct.
> >>
> >>--
> >>Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
>
> Regards,
> Ren? Pijlman <rene(at)lab(dot)applinet(dot)nl>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: NULLs and sort order
Date: 2001-10-31 04:51:16
Message-ID: 200110310451.f9V4pGR15743@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

> Attached is a small patch for the Reference Manual which adds
> information about nulls and sort order.
>
> This is based on information obtained from Peter Eisentraut and
> Tom Lane on pgsql-hackers.
>
> Please check my English and Docbook markup, as both are a second
> language to me.
>
> On Sun, 09 Sep 2001 16:58:18 +0200, I wrote:
> >I'm forwarding this information from Peter Eisentraut on
> >pgsql-hackers about NULLs and sort order. I couldn't find this
> >in the documentation.
> >
> >I guess it should be in "ORDER BY Clause" of "SELECT" in the
> >Reference Manual, and in the 7.2 release notes.
> >
> >Can someone add this to the documentation?
> >
> >Or am I expected to submit a patch on the Docbook sources?
> >
> >On Sun, 9 Sep 2001 15:25:17 +0200 (CEST), Peter Eisentraut
> ><peter_e(at)gmx(dot)net> wrote:
> >>Rene Pijlman writes:
> >>> Currently the JDBC driver says:
> >>> - Backend >= 7.2 sorts nulls higher than any other value in a
> >>> domain. In other words: ascending means nulls at the end,
> >>> descending means nulls at the start.
> >>> - Backend < 7.2 puts nulls at the end regardless of sort order.
> >>
> >>That is correct.
> >>
> >>--
> >>Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
>
> Regards,
> Ren? Pijlman <rene(at)lab(dot)applinet(dot)nl>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026