pgsql: postgres_fdw: When sending ORDER BY, always include NULLS FIRST/

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: postgres_fdw: When sending ORDER BY, always include NULLS FIRST/
Дата
Msg-id E1absm9-0003EZ-WB@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
postgres_fdw: When sending ORDER BY, always include NULLS FIRST/LAST.

Previously, we included NULLS FIRST when appropriate but relied on the
default behavior to be NULLS LAST.  This is, however, not true for a
sort in descending order and seems like a fragile assumption anyway.

Report by Rajkumar Raghuwanshi.  Patch by Ashutosh Bapat.  Review
comments from Michael Paquier and Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3bea3f88d5fc3517042ba83d2906979256da2442

Modified Files
--------------
contrib/postgres_fdw/deparse.c                 |   2 +
contrib/postgres_fdw/expected/postgres_fdw.out | 142 +++++++++++++++++++------
contrib/postgres_fdw/sql/postgres_fdw.sql      |  12 +++
3 files changed, 125 insertions(+), 31 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Add 'tap_tests' flag in config_default.pl
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix the way GetExistingLocalJoinPath is documented.