]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Use thread-local storage for querybuffer in fmtId() on Windows, when needed (i.e...
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 11 Mar 2009 03:33:29 +0000 (03:33 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 11 Mar 2009 03:33:29 +0000 (03:33 +0000)
commitc394bd331a701af06481e6e61a76ea82b18965eb
tree826155b0af3525c9fcac1b1724824ee05cf5b706
parentb4df57ff9f4136e3e53be629d28187d38e416060
Use thread-local storage for querybuffer in fmtId() on Windows, when needed (i.e. when
running pg_restore, which might run in parallel).
Only reopen archive file when we really need to read from it, in parallel code. Otherwise,
close it immediately in a worker, if possible.
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/dumputils.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_restore.c