mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Inline frequently called functions.
This commit is contained in:
@ -792,8 +792,9 @@ GetTupleForTrigger(Relation relation, ItemPointer tid, bool before)
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
if (!(tuple = heap_tuple_satisfies(lp, relation, b, dp,
|
||||
NowTimeQual, 0, (ScanKey) NULL)))
|
||||
HeapTupleSatisfies(lp, relation, b, dp,
|
||||
NowTimeQual, 0, (ScanKey) NULL, tuple);
|
||||
if (!tuple)
|
||||
{
|
||||
ReleaseBuffer(b);
|
||||
elog(WARN, "GetTupleForTrigger: (am)invalid tid");
|
||||
|
Reference in New Issue
Block a user