]> granicus.if.org Git - postgresql/commit
Fix init_irels to close the pg_internal.init file before returning.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Jan 2002 17:34:42 +0000 (17:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 16 Jan 2002 17:34:42 +0000 (17:34 +0000)
commit0f2d949c1e60e147ed032d9eeedc9234429dfa66
tree27be5a390e5c08b3859b02204614d35fdbc22dc8
parentd66b10833fc4ea62a84ec715e5a38f3b2bb549d3
Fix init_irels to close the pg_internal.init file before returning.
This saves one open file descriptor per backend, and avoids an
annoying NOTICE on Cygwin (which has trouble deleting open files).
Bug appears to date back to original coding of init_irels, circa 1992.
src/backend/utils/cache/relcache.c