RI triggers would fail for datatypes using old-style equal function,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6ab6f872c18ecda3b5e38205d913d514636d2a5e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-05-31T17:33:03Z
Releases: 7.1.3
RI triggers would fail for datatypes using old-style equal function,
because cached fmgr info contained reference to a shorter-lived data
structure.  Also guard against possibility that fmgr_info could fail,
leaving an incomplete entry present in the hash table.

Files

PathChange+/−
src/backend/utils/adt/ri_triggers.c modified +21 −7