Make pg_partition_tree return no rows on unsupported and undefined objects
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/partitionfuncs.c | modified | +3 −3 |
| src/test/regress/expected/partition_info.out | modified | +3 −6 |
Discussion
- pg_partition_tree crashes for a non-defined relation 36 messages · 2018-12-07 → 2019-03-04