pgsql: pg_upgrade: fix -j race condition on Windows

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: pg_upgrade: fix -j race condition on Windows
Дата
Msg-id E1V39jm-0000wc-1C@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_upgrade: fix -j race condition on Windows
Pg_Upgrade cannot write the command string to the log file and then call
system() to write to the same file without causing occasional file-share
errors on Windows.  So instead, write the command string to the log file
after system(), in those cases.
Backpatch to 9.3.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/815fcd050fbe18976c51af59116d60a6be5f3e41

Modified Files
--------------
contrib/pg_upgrade/exec.c |   46 ++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 41 insertions(+), 5 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_upgrade docs: don't use cluster for binary/lib
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_upgrade: fix -j race condition on Windows