pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add partitioned table support to sepgsql
Date: Sun, 09 Apr 2017 21:02:33 +0000
Message-ID: <E1cxJyj-0007Dm-7u@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1cxJyj-0007Dm-7u@gemulon.postgresql.org>
Permalink:  ../E1cxJyj-0007Dm-7u@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cxJyj-0007Dm-7u@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: mail@joeconway.com
  Subject: Re: pgsql: Add partitioned table support to sepgsql
  In-Reply-To: <E1cxJyj-0007Dm-7u@gemulon.postgresql.org>
  References: <E1cxJyj-0007Dm-7u@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox