aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-05-31 09:44:00 +0900
committerMichael Paquier <michael@paquier.xyz>2022-05-31 09:44:00 +0900
commit0efa51357e0fe0fd69f0c27245ed7e68039b1ea8 (patch)
treefedc9bb2b77525d82867b0f539439a22cb5d8f3b /src/backend/utils/adt/jsonpath.c
parent12e28aac8e8eb76cab13a4e9b696e3dab17f1c99 (diff)
downloadpostgresql-0efa51357e0fe0fd69f0c27245ed7e68039b1ea8.tar.gz
postgresql-0efa51357e0fe0fd69f0c27245ed7e68039b1ea8.zip
Remove useless tests for TRUNCATE on foreign tables
foreign_data has kept around a set of tests for TRUNCATE to look after the case of foreign tables, with[out] inheritance and with[out] partitions, assuming that the command is not supported for this relkind. However, TRUNCATE is supported on foreign tables if the FDW involved is able to handle the command, like postgres_fdw. Note that postgres_fdw includes tests to cover all the cases removed by this commit (which had misleading comments), so these did not provide any additional coverage anyway. Author: Yugo Nagata Discussion: https://postgr.es/m/20220527172543.0a2fdb469cf048b81c0967d3@sraoss.co.jp
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions