Thread: [COMMITTERS] pgsql: Add partitioned table support to sepgsql

[COMMITTERS] pgsql: Add partitioned table support to sepgsql

From
Joe Conway
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/25542d77dd549940468d1a932809feb9959d717d

Modified Files
--------------
contrib/sepgsql/dml.c              |   3 +-
contrib/sepgsql/expected/alter.out | 112 +++++++++++++++-
contrib/sepgsql/expected/ddl.out   | 253 +++++++++++++++++++++++++++++++++++++
contrib/sepgsql/expected/dml.out   | 210 +++++++++++++++++++++++++++---
contrib/sepgsql/expected/label.out | 157 +++++++++++++++++++----
contrib/sepgsql/expected/misc.out  | 160 +++++++++++++++++++++++
contrib/sepgsql/label.c            |   6 +-
contrib/sepgsql/relation.c         |  38 +++---
contrib/sepgsql/sql/alter.sql      |  65 ++++++++++
contrib/sepgsql/sql/ddl.sql        |  27 ++++
contrib/sepgsql/sql/dml.sql        | 122 +++++++++++++++++-
contrib/sepgsql/sql/label.sql      |  55 +++++++-
contrib/sepgsql/sql/misc.sql       |  15 +++
13 files changed, 1154 insertions(+), 69 deletions(-)