pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Teach \d+ to show partitioning constraints.
Date: Sat, 13 May 2017 16:06:32 +0000
Message-ID: <E1d9ZYu-0000UY-By@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Teach \d+ to show partitioning constraints.

The fact that we didn't have this in the first place is likely why
the problem fixed by f8bffe9e6d700fd34759a92e47930ce9ba7dcbd5
escaped detection.

Patch by Amit Langote, reviewed and slightly adjusted by me.

Discussion: http://postgr.es/m/CA+TgmoYWnV2GMnYLG-Czsix-E1WGAbo4D+0tx7t9NdfYBDMFsA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1848b73d4576e30c89ba450ad9f169774a6819bf

Modified Files
--------------
src/backend/catalog/partition.c            | 29 ++++++++++
src/backend/utils/adt/ruleutils.c          | 32 +++++++++++
src/bin/psql/describe.c                    | 37 +++++++++++--
src/include/catalog/catversion.h           |  2 +-
src/include/catalog/partition.h            |  1 +
src/include/catalog/pg_proc.h              |  2 +
src/test/regress/expected/create_table.out | 89 +++++++++++++++++++++++++-----
src/test/regress/expected/foreign_data.out |  3 +
src/test/regress/sql/create_table.sql      | 20 ++++++-
9 files changed, 193 insertions(+), 22 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: <E1d9ZYu-0000UY-By@gemulon.postgresql.org>
Permalink:  ../E1d9ZYu-0000UY-By@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1d9ZYu-0000UY-By@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: rhaas@postgresql.org
  Subject: Re: pgsql: Teach \d+ to show partitioning constraints.
  In-Reply-To: <E1d9ZYu-0000UY-By@gemulon.postgresql.org>
  References: <E1d9ZYu-0000UY-By@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