pgsql: Add partitioned table support to sepgsql

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add partitioned table support to sepgsql
Date: 2017-04-09 21:02:33
Message-ID: E1cxJyj-0007Dm-7u@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2017-04-09 22:59:24 pgsql: Make sepgsql regression tests robust vs. collation differences
Previous Message Andrew Dunstan 2017-04-09 02:37:56 Re: Fwd: Re: Running make check-world in buildfarm (was Re: [COMMITTERS] pgsql: Use SASLprep to normalize passwords for SCRAM authentication.)