From: Andreas Seltenreich <seltenreich@gmx.de>
To: Robert Haas <rhaas@postgresql.org>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add hash partitioning.
Date: Sat, 11 Nov 2017 22:31:48 +0100
Message-ID: <871sl4sdrv.fsf@ansel.ydns.eu> (raw)
In-Reply-To: <E1eCvxb-0002YO-84@gemulon.postgresql.org>
References: <E1eCvxb-0002YO-84@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: seltenreich@gmx.de, rhaas@postgresql.org
Subject: Re: pgsql: Add hash partitioning.
In-Reply-To: <871sl4sdrv.fsf@ansel.ydns.eu>
References: <E1eCvxb-0002YO-84@gemulon.postgresql.org> <871sl4sdrv.fsf@ansel.ydns.eu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox