Configure default for sorting of null-values?

Поиск
Список
Период
Сортировка
От Rob Gansevles
Тема Configure default for sorting of null-values?
Дата
Msg-id AANLkTi=ncurUP0DXj+jZnAmYmo5WPph3+BNLO5PkGMiV@mail.gmail.com
обсуждение исходный текст
Ответы Re: Configure default for sorting of null-values?  (Rob Gansevles <rgansevles@gmail.com>)
Список pgsql-general
Hi,

From the docs I see that you can control null values being sorted
before or after all non-null-values using 'NULLS LAST' or 'NULLS
FIRST' in the order by clause.

The default behaviour is to act as though nulls are larger than non-nulls.

My question is, is there a way to configure this default, at
connection level or at server level?

Thanks,

Rob

В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Table update problem works on MySQL but not Postgres
Следующее
От: Adarsh Sharma
Дата:
Сообщение: Problem in getting Output