agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Sebastien Flaesch <sebastien.flaesch@4js.com>
Cc: pgsql-sql <pgsql-sql@lists.postgresql.org>
Subject: Re: Global setting for ORDER BY ... NULLS FIRST / LAST
Date: Tue, 01 Mar 2022 10:02:26 -0500
Message-ID: <2837300.1646146946@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwY-dmsURUBHqjbrMN6vtezExhZYzHHUU_GSNgwWABisOQ@mail.gmail.com>
References: <DBAP191MB12893AA929975291A05E2938B0029@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM>
	<CAKFQuwY-dmsURUBHqjbrMN6vtezExhZYzHHUU_GSNgwWABisOQ@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tue, Mar 1, 2022 at 7:16 AM Sebastien Flaesch <sebastien.flaesch@4js.com>
> wrote:
>> Is there a global PostgreSQL server setting or SQL session parameter that
>> defines the default for   ORDER BY ... NULLS FIRST / LAST ?

> IMO, not enough of a benefit to spend development time on.  Having global
> configuration like this is something that should be, and in general is,
> avoided.  Most of the exceptions to this have been regretted.

Yeah.  We have generally found that settings that change query semantics
are a net evil.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <2837300.1646146946@sss.pgh.pa.us>
Permalink:  ../2837300.1646146946@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2837300.1646146946@sss.pgh.pa.us

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: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, sebastien.flaesch@4js.com, pgsql-sql@lists.postgresql.org
  Subject: Re: Global setting for ORDER BY ... NULLS FIRST / LAST
  In-Reply-To: <2837300.1646146946@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox