Re: Sort bug

Поиск
Список
Период
Сортировка
От Pavel Borisov
Тема Re: Sort bug
Дата
Msg-id CALT9ZEHdWfV-cdp5nbWxvD_zvZEQEg_omqmJ-25YEBarVrBd2g@mail.gmail.com
обсуждение исходный текст
Ответ на Sort bug  (okijhhyu <okijhhyu@gmail.com>)
Список pgsql-bugs
> Good morning, dear friends.
>
> In sorting by DESC null in up and ASC ‘’ in up, why them not near?
>
> Respectfully yours, okijhhyu
NULLS are not empty values but undefined values. Nevertheless, in
PostgreSQL there is the following default order for their sorting: "By
default, null values sort as if larger than any non-null value; that
is, NULLS FIRST is the default for DESC order, and NULLS LAST
otherwise." (https://www.postgresql.org/docs/current/queries-order.html).

Nulls ordering can be changed by. The NULLS FIRST and NULLS LAST
options can be used to determine whether nulls appear before or after
non-null values in the sort ordering.

Do you see this or something contrary to?

Best regards,
Pavel Borisov,
Supabase



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Sort bug
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #17720: pg_dump creates a dump with primary key that cannot be restored, when specifying 'using index ...'