Re: pgsql: Add hash partitioning.

From: amul sul <sulamul(at)gmail(dot)com>
To: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add hash partitioning.
Date: 2017-11-13 08:24:27
Message-ID: CAAJ_b95BrqX+nLne5djaa0=OtvYSjJGn6VzgMBXB5M3ySMv1Zg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Mon, Nov 13, 2017 at 12:41 PM, amul sul <sulamul(at)gmail(dot)com> wrote:
> On Sun, Nov 12, 2017 at 3:01 AM, Andreas Seltenreich <seltenreich(at)gmx(dot)de> wrote:
>> Robert Haas writes:
>>
>>> Add hash partitioning.
>>
>> sqlsmith triggers coredumps calling satisfies_hash_partition().
>> ISTM this function is lacking argument validation. Example:
>>
>
> Thanks for the bug report. Please find attached patch does the fix.

Updated patch attached -- Adjusted code comment to survive against pgindent.

Regards,
Amul

Attachment Content-Type Size
0001-argument-validation-v2.patch application/octet-stream 2.0 KB

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2017-11-13 13:04:34 Migration to pglister - Before
Previous Message amul sul 2017-11-13 07:11:23 Re: pgsql: Add hash partitioning.

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2017-11-13 08:25:18 ginInsertCleanup called from vacuum could still miss tuples to be deleted
Previous Message Noah Misch 2017-11-13 07:41:42 Re: Building PL/Perl with ActiveState Perl 5.22 and MSVC