pgsql: Add check for syscache lookup failure inupdate_relispartition()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add check for syscache lookup failure inupdate_relispartition()
Дата
Msg-id E1hNKeV-00008U-Vr@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: pgsql: Fix union for pgstat message types
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix style violations in syscache lookups.