Обсуждение: pgsql: Remove newly added useless assertion check

Поиск
Список
Период
Сортировка

pgsql: Remove newly added useless assertion check

От
Alvaro Herrera
Дата:
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(-)