Add partitioned table support to sepgsql
Joe Conway <mail@joeconway.com>
Add partitioned table support to sepgsql The new partitioned table capability added a new relkind, namely RELKIND_PARTITIONED_TABLE. Update sepgsql to treat this new relkind exactly the same way it does RELKIND_RELATION. In addition, add regression test coverage for partitioned tables. Issue raised by Stephen Frost and initial patch by Mike Palmiotto. Review by Tom Lane and Robert Haas, and editorializing by me. Discussion: https://postgr.es/m/flat/623bcaae-112e-ced0-8c22-a84f75ae0c53%40joeconway.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/sepgsql/dml.c | modified | +2 −1 |
| contrib/sepgsql/expected/alter.out | modified | +110 −2 |
| contrib/sepgsql/expected/ddl.out | modified | +253 −0 |
| contrib/sepgsql/expected/dml.out | modified | +194 −16 |
| contrib/sepgsql/expected/label.out | modified | +130 −27 |
| contrib/sepgsql/expected/misc.out | modified | +160 −0 |
| contrib/sepgsql/label.c | modified | +4 −2 |
| contrib/sepgsql/relation.c | modified | +22 −16 |
| contrib/sepgsql/sql/alter.sql | modified | +65 −0 |
| contrib/sepgsql/sql/ddl.sql | modified | +27 −0 |
| contrib/sepgsql/sql/dml.sql | modified | +119 −3 |
| contrib/sepgsql/sql/label.sql | modified | +53 −2 |
| contrib/sepgsql/sql/misc.sql | modified | +15 −0 |
Discussion
Cited messages not in the archive:
flat/623bcaae-112e-ced0-8c22-a84f75ae0c53@joeconway.com