]> granicus.if.org Git - postgresql/commit
Teach \d+ to show partitioning constraints.
authorRobert Haas <rhaas@postgresql.org>
Sat, 13 May 2017 16:04:53 +0000 (12:04 -0400)
committerRobert Haas <rhaas@postgresql.org>
Sat, 13 May 2017 16:04:53 +0000 (12:04 -0400)
commit1848b73d4576e30c89ba450ad9f169774a6819bf
tree47264beb25ffd4d57aab2b25184ed5fa0d243e2f
parentf8bffe9e6d700fd34759a92e47930ce9ba7dcbd5
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
src/backend/catalog/partition.c
src/backend/utils/adt/ruleutils.c
src/bin/psql/describe.c
src/include/catalog/catversion.h
src/include/catalog/partition.h
src/include/catalog/pg_proc.h
src/test/regress/expected/create_table.out
src/test/regress/expected/foreign_data.out
src/test/regress/sql/create_table.sql