pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Richard Guo <guofenglinux@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: hashing bpchar for nondeterministic collations is broken
Date: Fri, 02 Dec 2022 14:04:30 -0800
Message-ID: <747aad52a232029184e675b7da23828ebcfd0658.camel@j-davis.com> (raw)
In-Reply-To: <2137318.1670017756@sss.pgh.pa.us>
References: <eb83d0ac7b299eb08f9b900dd08a5a0c5d90e517.camel@j-davis.com>
	<CAMbWs48dYCWaMaPxFCC4hDTf5ZOFX1xcDdAs4kuPq1b7CCTDAA@mail.gmail.com>
	<b1c12dfa471f9fa98faee3b30bcae7911f397ddb.camel@j-davis.com>
	<2137318.1670017756@sss.pgh.pa.us>

On Fri, 2022-12-02 at 16:49 -0500, Tom Lane wrote:
> Yeah.  Also, do we have this issue with hash indexes?

No, it appears that hash indexes only call hashbpchar, which doesn't
have the bug.

Extended hash functions seem to only be used in hash partitioning, and
other extended hash functions.

Regards,
	Jeff Davis






view thread (6+ messages)

Message-ID: <747aad52a232029184e675b7da23828ebcfd0658.camel@j-davis.com>
Permalink:  ../747aad52a232029184e675b7da23828ebcfd0658.camel@j-davis.com/
Also on:    postgresql.org/message-id/747aad52a232029184e675b7da23828ebcfd0658.camel@j-davis.com

 · 

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-bugs@postgresql.org
  Cc: pgsql@j-davis.com, tgl@sss.pgh.pa.us, guofenglinux@gmail.com
  Subject: Re: hashing bpchar for nondeterministic collations is broken
  In-Reply-To: <747aad52a232029184e675b7da23828ebcfd0658.camel@j-davis.com>
  References: <eb83d0ac7b299eb08f9b900dd08a5a0c5d90e517.camel@j-davis.com> <CAMbWs48dYCWaMaPxFCC4hDTf5ZOFX1xcDdAs4kuPq1b7CCTDAA@mail.gmail.com> <b1c12dfa471f9fa98faee3b30bcae7911f397ddb.camel@j-davis.com> <2137318.1670017756@sss.pgh.pa.us> <747aad52a232029184e675b7da23828ebcfd0658.camel@j-davis.com>

* 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