RI triggers would fail for datatypes using old-style equal function,
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ri_triggers.c | modified | +21 −7 |