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)
commit905f42f738ba14b45342d1ae0333cf986c703fc1
tree34945cae94b11f0d116cef00f89df45142de8002
parent112a04d6172b8dfa15da4ca43ec5e537cbfb0200
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