Commit 0efa513
committed
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.jp1 parent 12e28aa commit 0efa513
File tree
2 files changed
+0
-18
lines changed- src/test/regress
- expected
- sql
2 files changed
+0
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1822 | 1822 | | |
1823 | 1823 | | |
1824 | 1824 | | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | 1825 | | |
1831 | 1826 | | |
1832 | 1827 | | |
| |||
2047 | 2042 | | |
2048 | 2043 | | |
2049 | 2044 | | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
2053 | | - | |
2054 | | - | |
2055 | 2045 | | |
2056 | 2046 | | |
2057 | 2047 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | 749 | | |
754 | 750 | | |
755 | 751 | | |
| |||
833 | 829 | | |
834 | 830 | | |
835 | 831 | | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | 832 | | |
841 | 833 | | |
842 | 834 | | |
| |||
0 commit comments