Re: jsonb crash

From: David Rowley <dgrowley(at)gmail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Rowley <drowley(at)postgresql(dot)org>, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: jsonb crash
Date: 2021-09-29 21:43:54
Message-ID: CAHoyFK93fwrO+iGqBiPKs-j6-MgFkBh8jLnPzVy3BPOanyTCjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 30 Sept 2021 at 09:48, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
> Maybe we can cache the left and the right type's hash function and use
> the correct one in paraminfo_get_equal_hashops().

Here's a patch of what I had in mind for the fix. It's just hot off
the press, so really only intended to assist discussion at this stage.

David

Attachment Content-Type Size
fix_incorrect_hashfunction_in_memoize.patch application/octet-stream 5.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-09-29 21:54:56 Re: jsonb crash
Previous Message Andrew Dunstan 2021-09-29 21:40:47 Re: prevent immature WAL streaming