pgsql: Reword partitioning error message - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Reword partitioning error message
Date
Msg-id E1kNjcK-0005wY-CW@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Reword partitioning error message

The error message about columns in the primary key not including all of
the partition key was unclear; reword it.

Backpatch all the way to pg11, where it appeared.

Reported-by: Nagaraj Raj <nagaraj.sf@yahoo.com>
Discussion: https://postgr.es/m/64062533.78364.1601415362244@mail.yahoo.com

Branch
------
REL_12_STABLE

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

Modified Files
--------------
src/backend/commands/indexcmds.c       |  3 +--
src/test/regress/expected/indexing.out | 18 +++++++++---------
2 files changed, 10 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix handling of BC years in to_date/to_timestamp.
Next
From: Andres Freund
Date:
Subject: pgsql: Fix and test snapshot behavior on standby.