Checks for ALTER TABLE ... SPLIT/MERGE PARTITIONS ... commands
Alexander Korotkov <akorotkov@postgresql.org>
Checks for ALTER TABLE ... SPLIT/MERGE PARTITIONS ... commands Check that the target partition actually belongs to the parent table. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/cd842601-cf1a-9806-f7b7-d2509b93ba61%40gmail.com Author: Dmitry Koval
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +0 −12 |
| src/backend/parser/parse_utilcmd.c | modified | +39 −0 |
| src/test/regress/expected/partition_merge.out | modified | +23 −6 |
| src/test/regress/expected/partition_split.out | modified | +13 −0 |
| src/test/regress/sql/partition_merge.sql | modified | +21 −3 |
| src/test/regress/sql/partition_split.sql | modified | +15 −0 |
Discussion
- Add SPLIT PARTITION/MERGE PARTITIONS commands 298 messages · 2022-05-31 → 2026-06-30