Re: hash_array_extended() needs to pass down collation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: hash_array_extended() needs to pass down collation
Date: 2020-11-02 15:01:53
Message-ID: 641013.1604329313@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> writes:
> I noticed that hash_array_extended() does not pass down the collation to
> the element's collation function, unlike hash_array(). As a
> consequence, hash partitioning using text arrays as partition key fails.

> The attached patch fixes this. I propose to backpatch this.

LGTM

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anastasia Lubennikova 2020-11-02 15:02:22 Re: Improving psql slash usage help message
Previous Message Masahiko Sawada 2020-11-02 14:49:16 Re: Fix a typo in verify_heapam.c