Re: BUG #5674: initdb failed if path contains symlink

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5674: initdb failed if path contains symlink
Date: 2010-09-27 10:05:21
Message-ID: AANLkTi=-h4VZGrQ5dn6m8kWmU4_bxyGLspU1Y56bnQ-v@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Sep 24, 2010 at 3:01 PM, Itagaki Takahiro
<itagaki(dot)takahiro(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2010-09-27 10:17:39 Re: BUG #5678: libpq.so.4 is needed for pgadmin3
Previous Message fazal rahman 2010-09-27 09:09:24 Re: BUG #5678: libpq.so.4 is needed for pgadmin3