pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add check for syscache lookup failure in update_relispartition() 2+ messages / 1 participants [nested] [flat]
* pgsql: Add check for syscache lookup failure in update_relispartition() @ 2019-05-05 17:10 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-05-05 17:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/62148c3520b562e518f17134b22120bab0cb113b Modified Files -------------- src/backend/commands/indexcmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Add check for syscache lookup failure in update_relispartition() @ 2019-05-05 17:10 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-05-05 17:10 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-05-05 17:10 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-05-05 17:10 pgsql: Add check for syscache lookup failure in update_relispartition() Tom Lane <tgl@sss.pgh.pa.us> 2019-05-05 17:10 pgsql: Add check for syscache lookup failure in update_relispartition() Tom Lane <tgl@sss.pgh.pa.us>
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