Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9V4pNP45726; Tue, 30 Oct 2001 23:51:23 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id f9V4pGR15743; Tue, 30 Oct 2001 23:51:16 -0500 (EST) From: Bruce Momjian Message-Id: <200110310451.f9V4pGR15743@candle.pha.pa.us> Subject: Re: NULLs and sort order In-Reply-To: "from Rene Pijlman at Oct 28, 2001 10:39:23 pm" To: Rene Pijlman Date: Tue, 30 Oct 2001 23:51:16 -0500 (EST) CC: pgsql-patches@postgresql.org, pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200110/57 X-Sequence-Number: 1071 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 > > 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@gmx.net http://funkturm.homeip.net/~peter > > Regards, > Ren? Pijlman [ 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026