From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add check for syscache lookup failure in update_relispartition()
Date: Sun, 05 May 2019 17:10:15 +0000
Message-ID: <E1hNKeV-00008Y-W8@gemulon.postgresql.org> (raw)
Add check for syscache lookup failure in update_relispartition().
Omitted in commit 05b38c7e6 (though it looks like the original blame
belongs to 9e9befac4). A failure is admittedly unlikely, but if it
did happen, SIGSEGV is not the approved method of reporting it.
Per Coverity. Back-patch to v11 where the broken code originated.
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/030ad0acfa5794c645a9a6093fdd3ed4d4f4788c
Modified Files
--------------
src/backend/commands/indexcmds.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add check for syscache lookup failure in update_relispartition()
In-Reply-To: <E1hNKeV-00008Y-W8@gemulon.postgresql.org>
References: <E1hNKeV-00008Y-W8@gemulon.postgresql.org>
* 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