pgsql: Reword partitioning error message

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reword partitioning error message
Date: 2020-09-30 21:26:28
Message-ID: E1kNjcK-0005wb-Cv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)sf(at)yahoo(dot)com>
Discussion: https://postgr.es/m/64062533.78364.1601415362244@mail.yahoo.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5b76e8fb675ee3619c569af2d42227b584d31215

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2020-10-01 00:31:45 pgsql: Fix and test snapshot behavior on standby.
Previous Message Tom Lane 2020-09-30 19:47:26 Re: __pg_log_level in anonynous enum should be initialized? (Was: pgsql: Change SHA2 implementation based on OpenSSL to use EVP digest ro)