Re: Global setting for ORDER BY ... NULLS FIRST / LAST
От | Sebastien Flaesch |
---|---|
Тема | Re: Global setting for ORDER BY ... NULLS FIRST / LAST |
Дата | |
Msg-id | DBAP191MB12892A80916C970A1B8AE5A5B0039@DBAP191MB1289.EURP191.PROD.OUTLOOK.COM обсуждение исходный текст |
Ответ на | Re: Global setting for ORDER BY ... NULLS FIRST / LAST (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-sql |
OK I understand.
Seb
From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Tuesday, March 1, 2022 4:02 PM
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Sebastien Flaesch <sebastien.flaesch@4js.com>; pgsql-sql <pgsql-sql@lists.postgresql.org>
Subject: Re: Global setting for ORDER BY ... NULLS FIRST / LAST
Sent: Tuesday, March 1, 2022 4:02 PM
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Sebastien Flaesch <sebastien.flaesch@4js.com>; pgsql-sql <pgsql-sql@lists.postgresql.org>
Subject: Re: Global setting for ORDER BY ... NULLS FIRST / LAST
EXTERNAL: Do not click links or open attachments if you do not recognize the sender.
"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
"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
В списке pgsql-sql по дате отправления: