On 19 January 2016 at 18:49, Huong Dangminh <huo-dangm...@ys.jp.nec.com> wrote:
> Hi all, > > I have failed in execute initdb in "c:\Windows\Temp\dir" folder as > reproduce logs below. The OS's messages "The current directory is invalid." > was returned. > Is that directory or any parent of it a junction point? http://www.nirsoft.net/utils/ntfs_links_view.html http://superuser.com/q/823959 Also, why would you possibly run the installer from there? You should be using %TEMP% which should generally resolve to C:\Users\{Username}\AppData\Local\Temp or similar. > creating template1 database in c:/testdb/base/1 ... The current directory > is invalid. It looks like somehow the current working directory is unmapped or cannot be found. Is there any chance you have mapped network drives in use? -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services