pgsql: Arrange for on_exit_nicely to be thread-safe.
pgsql: Arrange for on_exit_nicely to be thread-safe.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
Arrange for on_exit_nicely to be thread-safe. Extracted from Joachim Wieland's parallel pg_dump patch, with some additional comments by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/5e86c61a7eec0fdc6961493a150159fa8fc63b1c Modified Files -------------- src/bin/pg_dump/dumputils.c | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-)