pgsql: Make pg_partition_tree return no rows on unsupported andundefin

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Make pg_partition_tree return no rows on unsupported andundefin
Дата
Msg-id E1gzVr2-0006BB-Nz@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make pg_partition_tree return no rows on unsupported and undefined objects

The function was tweaked so as it returned one row full of NULLs when
working on an unsupported relkind or an undefined object as of cc53123,
and after discussion with Amit and Álvaro it looks more natural to make
it return no rows.

Author: Michael Paquier
Reviewed-by: Álvaro Herrera, Amit Langote
Discussion: https://postgr.es/m/20190227184808.GA17357@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0f3cdf873e7d81fbf61965e13685595c8a23c322

Modified Files
--------------
src/backend/utils/adt/partitionfuncs.c       | 6 +++---
src/test/regress/expected/partition_info.out | 9 +++------
2 files changed, 6 insertions(+), 9 deletions(-)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Use slots in trigger infrastructure, except for the actualinvoc
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Clear the local map when not used.