Re: pgsql: Add hash partitioning.

From: Andreas Seltenreich <seltenreich(at)gmx(dot)de>
To: Robert Haas <rhaas(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add hash partitioning.
Date: 2017-11-11 21:31:48
Message-ID: 871sl4sdrv.fsf@ansel.ydns.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2017-11-11 22:29:34 pgsql: Fix connect/test1 expected output.
Previous Message Noah Misch 2017-11-11 21:11:17 pgsql: Fix previous commit's test, for non-UTF8 databases with non-XML

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Dilger 2017-11-12 00:21:09 Re: Simplify ACL handling for large objects and removal of superuser() checks
Previous Message gmail Vladimir Koković 2017-11-11 20:41:13 BUG #14897: Segfault on statitics SQL request