BUG #5674: initdb failed if path contains symlink - Mailing list pgsql-bugs

From Itagaki Takahiro
Subject BUG #5674: initdb failed if path contains symlink
Date
Msg-id 201009240601.o8O61cv5062227@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5674: initdb failed if path contains symlink
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5674
Logged by:          Itagaki Takahiro
Email address:      itagaki.takahiro@gmail.com
PostgreSQL version: 9.0.0 (32bit)
Operating system:   Windows 7 (64bit)
Description:        initdb failed if path contains symlink
Details:

Windows 7 supports symbolic links like UNIX,
but initdb cannot initialize a database cluster
if the path (-D) contains symlinks.

> mkdir D:\real
> mklink /D D:\link D:\real
> initdb -D D:\real\pgdata --encoding=UTF8 --locale=C
  => OK
> initdb -D D:\link\pgdata2 --encoding=UTF8 --locale=C
  => could not create directory "D:/link": File exists

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: installer problems
Next
From: Magnus Hagander
Date:
Subject: Re: libpq: system-wide root.crt