aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2022-10-15 19:24:26 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2022-10-15 19:24:26 +0200
commitcba4e78f3599f7edc3fb53d1b094f037fbb8158a (patch)
treee25faddf0e60731a5bda39596a31ccad2728326e /src/backend/utils/adt/ruleutils.c
parent1054c604bcdbae5de42beab2f60da7b0067cd4bb (diff)
downloadpostgresql-cba4e78f3599f7edc3fb53d1b094f037fbb8158a.tar.gz
postgresql-cba4e78f3599f7edc3fb53d1b094f037fbb8158a.zip
Disallow MERGE cleanly for foreign partitions
While directly targetting a foreign table with MERGE was already expressly forbidden, we failed to catch the case of a partitioned table that has a foreign table as a partition; and the result if you try is an incomprehensible error. Fix that by adding a specific check. Backpatch to 15. Reported-by: Tatsuhiro Nakamori <bt22nakamorit@oss.nttdata.com> Discussion: https://postgr.es/m/bt22nakamorit@oss.nttdata.com
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions