Re: [JDBC] NULLs and sort order

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [JDBC] NULLs and sort order
Date: 2001-09-09 13:25:17
Message-ID: Pine.LNX.4.30.0109091524410.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

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.

> Would it be useful to add this information to the documentation,
> e.g. the documentation of ORDER BY in SELECT?

Most likely.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rene Pijlman 2001-09-09 13:30:17 Re: [JDBC] NULLs and sort order
Previous Message Rene Pijlman 2001-09-09 12:58:40 Re: [HACKERS] JDBC pg_description update needed for CVS tip

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rene Pijlman 2001-09-09 13:30:17 Re: [JDBC] NULLs and sort order
Previous Message Rene Pijlman 2001-09-09 12:58:40 Re: [HACKERS] JDBC pg_description update needed for CVS tip