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

From Itagaki Takahiro
Subject Re: BUG #5674: initdb failed if path contains symlink
Date
Msg-id AANLkTi=-h4VZGrQ5dn6m8kWmU4_bxyGLspU1Y56bnQ-v@mail.gmail.com
Whole thread Raw
In response to BUG #5674: initdb failed if path contains symlink  ("Itagaki Takahiro" <itagaki.takahiro@gmail.com>)
Responses Re: BUG #5674: initdb failed if path contains symlink
List pgsql-bugs
On Fri, Sep 24, 2010 at 3:01 PM, Itagaki Takahiro
<itagaki.takahiro@gmail.com> wrote:
> Windows 7 supports symbolic links like UNIX,
> but initdb cannot initialize a database cluster
> if the path (-D) contains symlinks.

The bug might come from the following bug by Microsoft:

http://connect.microsoft.com/VisualStudio/feedback/details/595553/stat-function-returns-error-for-directory-symbolic-links

Note that initdb in 8.4 worked expectedly because it is built with MSVC 2005,
but initdb in 9.0 won't work because built with MSVC 2008 :-( .

--
Itagaki Takahiro

pgsql-bugs by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: hstore: null value is treated as empty string by avals function
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: BUG #5678: libpq.so.4 is needed for pgadmin3