Re: [COMMITTERS] pgsql: Add hash partitioning. - Mailing list pgsql-committers

From Andreas Seltenreich
Subject Re: [COMMITTERS] pgsql: Add hash partitioning.
Date
Msg-id 871sl4sdrv.fsf@ansel.ydns.eu
Whole thread Raw
In response to [COMMITTERS] pgsql: Add hash partitioning.  (Robert Haas <rhaas@postgresql.org>)
Responses Re: [COMMITTERS] pgsql: Add hash partitioning.  (amul sul <sulamul@gmail.com>)
List pgsql-committers
Robert Haas writes:

> Add hash partitioning.

sqlsmith triggers coredumps calling satisfies_hash_partition().
ISTM this function is lacking argument validation.  Example:

,----
| PostgreSQL stand-alone backend 11devel
| backend> select satisfies_hash_partition('pg_class'::regclass,null,null,null);
| Program received signal SIGSEGV, Segmentation fault.
| 0x00005555556b3914 in satisfies_hash_partition (fcinfo=0x555555f5f668) at partition.c:3435
| 3435                fmgr_info_copy(&my_extra->partsupfunc[j],
`----

regards,
Andreas


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: [COMMITTERS] pgsql: Fix previous commit's test,for non-UTF8 databases with non-XML
Next
From: Noah Misch
Date:
Subject: [COMMITTERS] pgsql: Fix connect/test1 expected output.