diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-03-22 17:27:38 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-03-22 17:27:38 +0900 |
commit | 2ab6d28d233af17987ea323e3235b2bda89b4f2e (patch) | |
tree | 6bf3a4fac6e23fd3248972948d7cd8fab1bbf944 /src/backend/executor/nodeSetOp.c | |
parent | fff518d051285bc47e2694a349d410e01972730b (diff) | |
download | postgresql-2ab6d28d233af17987ea323e3235b2bda89b4f2e.tar.gz postgresql-2ab6d28d233af17987ea323e3235b2bda89b4f2e.zip |
Fix crash with pg_partition_root
Trying to call the function with the top-most parent of a partition tree
was leading to a crash. In this case the correct result is to return
the top-most parent itself.
Reported-by: Álvaro Herrera
Author: Michael Paquier
Reviewed-by: Amit Langote
Discussion: https://postgr.es/m/20190322032612.GA323@alvherre.pgsql
Diffstat (limited to 'src/backend/executor/nodeSetOp.c')
0 files changed, 0 insertions, 0 deletions