diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-15 19:24:26 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-10-15 19:24:26 +0200 |
commit | 16d11d68437a6a37af1fea08d4a29ef463f0d62c (patch) | |
tree | b4de06bc82c7370144dbfd510c74191e304c3af6 /src/backend/utils/adt/mcxtfuncs.c | |
parent | 27ca0bce5f41cecc3b219cc9d675239a79d7562a (diff) | |
download | postgresql-16d11d68437a6a37af1fea08d4a29ef463f0d62c.tar.gz postgresql-16d11d68437a6a37af1fea08d4a29ef463f0d62c.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/mcxtfuncs.c')
0 files changed, 0 insertions, 0 deletions