pg_upgrade on Windows

Поиск
Список
Период
Сортировка
От Marc Daelemans
Тема pg_upgrade on Windows
Дата
Msg-id 003001d18f87$447facf0$cd7f06d0$@daelemans.com
обсуждение исходный текст
Ответы Re: pg_upgrade on Windows  (John R Pierce <pierce@hogranch.com>)
Список pgsql-bugs
Dear,



When one attempts to run pg_upgrade on Windows (7 SP 1 x64) the command
produces a failure notice, probably because writing to (log) files in
C:\Program Files and its subdirectories is not allowed.



C:\Program Files\PostgreSQL\9.5>pg_upgrade.exe --old-datadir "C:/Program
Files/P

ostgreSQL/9.4/data" --new-datadir "C:/Program Files/PostgreSQL/9.5/data"
--old-b

indir "C:/Program Files/PostgreSQL/9.4/bin" --new-bindir "C:/Program
Files/Postg

reSQL/9.5/bin"



cannot write to log file pg_upgrade_internal.log

Failure, exiting



Is there a way to redirect the log file to another file location?



Best regards,

Marc Daelemans

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PosgreSQL backend process crashed with signal 9
Следующее
От: John R Pierce
Дата:
Сообщение: Re: pg_upgrade on Windows