"pg_upgrade" cannot write to log file pg_upgrade_internal.log

Поиск
Список
Период
Сортировка
От Yang, Leo
Тема "pg_upgrade" cannot write to log file pg_upgrade_internal.log
Дата
Msg-id DF4PR84MB023487731C361CDA92773C9FF4EE0@DF4PR84MB0234.NAMPRD84.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответы Re: "pg_upgrade" cannot write to log file pg_upgrade_internal.log  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
<div class="WordSection1"><p class="MsoNormal">I run “pg_upgrade -xx” fromPostgreSQL8.3 to PostgreSQL9.4.5 on window
server2008.  It will show some wrong information:<p class="MsoNormal"><span
style="background:yellow;mso-highlight:yellow"> </span><pclass="MsoNormal"><span
style="background:yellow;mso-highlight:yellow">cannotwrite to log file pg_upgrade_internal.log</span><p
class="MsoNormal"><spanstyle="background:yellow;mso-highlight:yellow">Failure, exiting</span>.<p class="MsoNormal"> <p
class="MsoNormal">Itseems that the upgrade can be successful on window 7. It seems to be a permissions problem. I get
someinformation about <span style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:black;background:white">
restrictingprivileges</span> from source code, and I find the changes “<span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:black;background:yellow;mso-highlight:yellow">Run<span
class="apple-converted-space"> </span><spanclass="application">pg_upgrade</span><span
class="apple-converted-space"> </span>and<spanclass="apple-converted-space"> </span><span
class="application">pg_resetxlog</span><spanclass="apple-converted-space"> </span>with restricted privileges on
Windows,so that they don't fail when run by an administrator</span><span class="apple-converted-space"><span
style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:black;background:white"> (referto <a
href="http://www.postgresql.org/docs/9.4/static/release-9-4-2.html">http://www.postgresql.org/docs/9.4/static/release-9-4-2.html</a>
)</span></span>” for release 9.4.2. Why did you do this? How can I solve this problem? I hope you can help me.<p
class="MsoNormal"> <pclass="MsoNormal">Best Regards,<p class="MsoNormal">Leo<p class="MsoNormal"> </div> 

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: extend pgbench expressions with functions
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: pg_hba_lookup function to get all matching pg_hba.conf entries