]> granicus.if.org Git - postgresql/commit
Add partitioned table support to sepgsql
authorJoe Conway <mail@joeconway.com>
Sun, 9 Apr 2017 21:01:58 +0000 (14:01 -0700)
committerJoe Conway <mail@joeconway.com>
Sun, 9 Apr 2017 21:01:58 +0000 (14:01 -0700)
commit25542d77dd549940468d1a932809feb9959d717d
tree40170811f8ae439881fb99e90b12076aacf1b4c4
parenteef8c0069e4d5eea2e52965ce3eb018b5a594fd6
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
13 files changed:
contrib/sepgsql/dml.c
contrib/sepgsql/expected/alter.out
contrib/sepgsql/expected/ddl.out
contrib/sepgsql/expected/dml.out
contrib/sepgsql/expected/label.out
contrib/sepgsql/expected/misc.out
contrib/sepgsql/label.c
contrib/sepgsql/relation.c
contrib/sepgsql/sql/alter.sql
contrib/sepgsql/sql/ddl.sql
contrib/sepgsql/sql/dml.sql
contrib/sepgsql/sql/label.sql
contrib/sepgsql/sql/misc.sql