load_file() has to remove pre-existing shlibs that match the new file

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

Commit: f4ed650996ab76dcdb1c1408c30fe61331a26208
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-09-07T02:18:01Z
Releases: 7.4.1
load_file() has to remove pre-existing shlibs that match the new file
on either name or inode; otherwise load_external_function() won't do
anything.  At least on Linux, it appears that recompiling a shlib leads
to a new file with a different inode, so the old code failed to detect
a match.

Files

PathChange+/−
src/backend/utils/fmgr/dfmgr.c modified +22 −24