"pg_upgrade" cannot write to log file pg_upgrade_internal.log - Mailing list pgsql-hackers

From Yang, Leo
Subject "pg_upgrade" cannot write to log file pg_upgrade_internal.log
Date
Msg-id DF4PR84MB023487731C361CDA92773C9FF4EE0@DF4PR84MB0234.NAMPRD84.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: "pg_upgrade" cannot write to log file pg_upgrade_internal.log  (Michael Paquier <michael.paquier@gmail.com>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: Re: extend pgbench expressions with functions
Next
From: Tomas Vondra
Date:
Subject: Re: pg_hba_lookup function to get all matching pg_hba.conf entries