]> granicus.if.org Git - postgresql/commit
load_file() has to remove pre-existing shlibs that match the new file
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Sep 2003 02:18:01 +0000 (02:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 7 Sep 2003 02:18:01 +0000 (02:18 +0000)
commitf4ed650996ab76dcdb1c1408c30fe61331a26208
treeb6460599d18e64cd5eedcf866f95137ddf9bdc7f
parent3e20a726033191660171d17b9fc08206f0d4aaed
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.
src/backend/utils/fmgr/dfmgr.c