pgsql: Fix multi-column range partitioning constraints.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix multi-column range partitioning constraints.
Date: 2017-05-13 15:37:17
Message-ID: E1d9Z6b-0008KO-UK@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix multi-column range partitioning constraints.

The old logic was just plain wrong.

Report by Olaf Gawenda. Patch by Amit Langote, reviewed by
Beena Emerson and by me. Minor adjustments by me also.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f8bffe9e6d700fd34759a92e47930ce9ba7dcbd5

Modified Files
--------------
src/backend/catalog/partition.c | 663 ++++++++++++++++++++++------------
src/include/nodes/pg_list.h | 14 +
src/test/regress/expected/inherit.out | 90 +++++
src/test/regress/expected/insert.out | 59 +++
src/test/regress/sql/inherit.sql | 18 +
src/test/regress/sql/insert.sql | 43 +++
6 files changed, 666 insertions(+), 221 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-05-13 16:06:32 pgsql: Teach \d+ to show partitioning constraints.
Previous Message Tom Lane 2017-05-13 13:42:15 pgsql: Avoid hard-wired sleep delays in stats regression test.