]> granicus.if.org Git - postgresql/commit
RI triggers would fail for datatypes using old-style equal function,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 May 2001 17:33:03 +0000 (17:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 May 2001 17:33:03 +0000 (17:33 +0000)
commit6ab6f872c18ecda3b5e38205d913d514636d2a5e
tree82627190aff483f944205efb003ec2a3e9f0fc86
parentd216f6ec8f266d64fc00ab4b18871fbae4ee17e7
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.
src/backend/utils/adt/ri_triggers.c