]> granicus.if.org Git - postgresql/commit
Add check for syscache lookup failure in update_relispartition().
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 May 2019 16:44:32 +0000 (12:44 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 5 May 2019 16:44:32 +0000 (12:44 -0400)
commit030ad0acfa5794c645a9a6093fdd3ed4d4f4788c
treeb40acb93122a0461771f432e6fc8cb1c22dd3b38
parent506af101f3e9d8f475e6a326eb0ad89f7db81eda
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.
src/backend/commands/indexcmds.c