postgresql/contrib/postgres_fdw
Alvaro Herrera cba4e78f35
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
2022-10-15 19:24:26 +02:00
..
expected Disallow MERGE cleanly for foreign partitions 2022-10-15 19:24:26 +02:00
sql Disallow MERGE cleanly for foreign partitions 2022-10-15 19:24:26 +02:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c Replace many MemSet calls with struct initialization 2022-07-16 08:50:49 +02:00
deparse.c Fix final warnings produced by -Wshadow=compatible-local 2022-10-07 13:13:27 +13:00
Makefile postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
meson.build meson: Add windows resource files 2022-10-05 09:56:05 -07:00
option.c Adjust assorted hint messages that list all valid options. 2022-09-16 14:53:12 +02:00
postgres_fdw--1.0--1.1.sql postgres_fdw: Add functions to discard cached connections. 2021-01-26 15:35:54 +09:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Allow batch insertion during COPY into a foreign table. 2022-10-13 18:45:00 +09:00
postgres_fdw.control postgres_fdw: Add function to list cached connections to foreign servers. 2021-01-18 15:11:08 +09:00
postgres_fdw.h Harmonize parameter names in contrib code. 2022-09-22 13:59:20 -07:00
shippable.c Update copyright for 2022 2022-01-07 19:04:57 -05:00