aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres_ext.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-23 23:03:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-23 23:03:10 +0000
commit7a57a672788ff04723544a650e33502429ad8581 (patch)
tree10f74dc64f145d55dc65f6df405154cbccd86aef /src/include/postgres_ext.h
parent4f571319d362735e3efa6293737c5e12181f3477 (diff)
downloadpostgresql-7a57a672788ff04723544a650e33502429ad8581.tar.gz
postgresql-7a57a672788ff04723544a650e33502429ad8581.zip
Replace opendir/closedir calls throughout the backend with AllocateDir
and FreeDir routines modeled on the existing AllocateFile/FreeFile. Like the latter, these routines will avoid failing on EMFILE/ENFILE conditions whenever possible, and will prevent leakage of directory descriptors if an elog() occurs while one is open. Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not critical code and there is no reason to force a DB restart on failure. All per recent trouble report from Olivier Hubaut.
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions