pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Foreign keys on partitioned tables
Date: Wed, 04 Apr 2018 17:03:30 +0000
Message-ID: <E1f3loo-0005t4-P8@gemulon.postgresql.org> (raw)

Foreign keys on partitioned tables

Author: Álvaro Herrera
Discussion: https://postgr.es/m/20171231194359.cvojcour423ulha4@alvherre.pgsql
Reviewed-by: Peter Eisentraut

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3de241dba86f3dd000434f70aebba725fb928032

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml          |   3 +-
doc/src/sgml/ref/create_table.sgml         |  13 +-
src/backend/catalog/pg_constraint.c        | 237 +++++++++++++++++++++++++++++
src/backend/commands/tablecmds.c           | 193 ++++++++++++++++++-----
src/backend/parser/parse_utilcmd.c         |  12 --
src/backend/utils/adt/ri_triggers.c        |  59 ++++---
src/bin/pg_dump/pg_dump.c                  |  42 +++--
src/include/catalog/pg_constraint_fn.h     |  16 ++
src/include/commands/tablecmds.h           |   4 +
src/test/regress/expected/alter_table.out  |   4 -
src/test/regress/expected/create_table.out |  10 --
src/test/regress/expected/foreign_key.out  | 211 +++++++++++++++++++++++++
src/test/regress/expected/inherit.out      |  25 +++
src/test/regress/sql/alter_table.sql       |   1 -
src/test/regress/sql/create_table.sql      |   8 -
src/test/regress/sql/foreign_key.sql       | 154 +++++++++++++++++++
src/test/regress/sql/inherit.sql           |  12 ++
17 files changed, 895 insertions(+), 109 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1f3loo-0005t4-P8@gemulon.postgresql.org>
Permalink:  ../E1f3loo-0005t4-P8@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f3loo-0005t4-P8@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: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Foreign keys on partitioned tables
  In-Reply-To: <E1f3loo-0005t4-P8@gemulon.postgresql.org>
  References: <E1f3loo-0005t4-P8@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