Обсуждение: pgsql: Add some notes about why it's not a bug that RI_FKey_check calls

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

pgsql: Add some notes about why it's not a bug that RI_FKey_check calls

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Add some notes about why it's not a bug that RI_FKey_check calls
HeapTupleSatisfiesItself without doing LockBuffer first.  This code
is a bit fragile, but AFAICS it's not actually broken.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        ri_triggers.c (r1.87 -> r1.88)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/ri_triggers.c.diff?r1=1.87&r2=1.88)