Re: pgsql: Add hash partitioning.

Amul Sul <sulamul@gmail.com>

From: amul sul <sulamul@gmail.com>
To: Andreas Seltenreich <seltenreich@gmx.de>
Cc: Robert Haas <rhaas@postgresql.org>, pgsql-committers@postgresql.org
Date: 2017-11-13T08:24:27Z
Lists: pgsql-hackers

Attachments

On Mon, Nov 13, 2017 at 12:41 PM, amul sul <sulamul@gmail.com> wrote:
> On Sun, Nov 12, 2017 at 3:01 AM, Andreas Seltenreich <seltenreich@gmx.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

Commits

  1. Fix multiple problems with satisfies_hash_partition.

  2. Add hash partitioning.