postgresql/src/backend/access/transam
Tom Lane 7a57a67278 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.
2004-02-23 23:03:10 +00:00
..
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
clog.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
rmgr.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
slru.c Replace opendir/closedir calls throughout the backend with AllocateDir 2004-02-23 23:03:10 +00:00
transam.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
varsup.c Repair incorrect order of operations in GetNewTransactionId(). We must 2004-01-26 19:15:59 +00:00
xact.c Commit the reasonably uncontroversial parts of J.R. Nield's PITR patch, to 2004-02-11 22:55:26 +00:00
xlog.c Replace opendir/closedir calls throughout the backend with AllocateDir 2004-02-23 23:03:10 +00:00
xlogutils.c Commit the reasonably uncontroversial parts of J.R. Nield's PITR patch, to 2004-02-11 22:55:26 +00:00