pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix failure with textual partition hash keys.
Date: Mon, 15 Apr 2019 20:47:13 +0000
Message-ID: <E1hG8VV-0000NT-U2@gemulon.postgresql.org> (raw)

Fix failure with textual partition hash keys.

Commit 5e1963fb7 overlooked two places in partbounds.c that now
need to pass a collation identifier to the hash functions for
a partition key column.

Amit Langote, per report from Jesper Pedersen

Discussion: https://postgr.es/m/a620f85a-42ab-e0f3-3337-b04b97e2e2f5@redhat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4b40e44f07c727c7a82b291d3b60098dd99f3f64

Modified Files
--------------
src/backend/partitioning/partbounds.c   | 28 +++++++++++++++-------------
src/test/regress/expected/hash_part.out | 14 ++++++++++++++
src/test/regress/sql/hash_part.sql      | 10 ++++++++++
3 files changed, 39 insertions(+), 13 deletions(-)



Message-ID: <E1hG8VV-0000NT-U2@gemulon.postgresql.org>
Permalink:  ../E1hG8VV-0000NT-U2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hG8VV-0000NT-U2@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix failure with textual partition hash keys.
  In-Reply-To: <E1hG8VV-0000NT-U2@gemulon.postgresql.org>
  References: <E1hG8VV-0000NT-U2@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox