pgsql: Remove newly added useless assertion check

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Remove newly added useless assertion check
Дата
Msg-id E1m83yP-0003tC-O6@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove newly added useless assertion check

Coverity complained that my commit 80ba4bb38353 added a dubious coding
for a consistency check that there isn't more than one row for a certain
tgrelid/tgparentid combination.  But we don't check for that explicitly
anywhere else, and if we were to do it, it should be a full
shouldn't-happen elog not just an assert.  It doesn't seem that this is
very important anyway, so remove it.

Discussion: https://postgr.es/m/1337562.1627224583@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/21b3aa9c8faf39ef45a5223681d8947e0a00e7da

Modified Files
--------------
src/backend/commands/trigger.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: pgsql: psql \dX: check schema when listing statistics objects
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Skip trailing whitespaces when parsing integer options