pgsql: Teach \d+ to show partitioning constraints.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach \d+ to show partitioning constraints.
Date: 2017-05-13 16:06:32
Message-ID: E1d9ZYu-0000UY-By@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2017-05-13 16:30:03 Re: pgsql: Use a better way of skipping all subscription tests on Windows
Previous Message Robert Haas 2017-05-13 15:37:17 pgsql: Fix multi-column range partitioning constraints.