Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-28 Thread Magnus Hagander
On Tue, Sep 28, 2010 at 11:08, Magnus Hagander wrote: > On Tue, Sep 28, 2010 at 03:28, Itagaki Takahiro > wrote: >> On Mon, Sep 27, 2010 at 11:14 PM, Tom Lane wrote: >>> I think this is a Microsoft bug and it's their problem to fix, not ours. >> >> OK, but bad news is that the bug is in VC 2008,

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-28 Thread Magnus Hagander
On Tue, Sep 28, 2010 at 03:28, Itagaki Takahiro wrote: >> Magnus Hagander writes: >>> But how likely is that to bite us elsewhere then? > > Initdb works well if the link is a junction (mklink /J). > We use junctions for tablespaces, but don't use symbolic links. > So, there are no problems unless

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-27 Thread Itagaki Takahiro
> Magnus Hagander writes: >> But how likely is that to bite us elsewhere then? Initdb works well if the link is a junction (mklink /J). We use junctions for tablespaces, but don't use symbolic links. So, there are no problems unless users create symlinks by themselves. On Mon, Sep 27, 2010 at 11

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-27 Thread Tom Lane
Magnus Hagander writes: > On Mon, Sep 27, 2010 at 12:05, Itagaki Takahiro > wrote: >> 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.

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-27 Thread Magnus Hagander
On Mon, Sep 27, 2010 at 12:05, Itagaki Takahiro wrote: > On Fri, Sep 24, 2010 at 3:01 PM, Itagaki Takahiro > 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 b

Re: [BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-27 Thread Itagaki Takahiro
On Fri, Sep 24, 2010 at 3:01 PM, Itagaki Takahiro 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/feedbac

[BUGS] BUG #5674: initdb failed if path contains symlink

2010-09-23 Thread Itagaki Takahiro
The following bug has been logged online: Bug reference: 5674 Logged by: Itagaki Takahiro Email address: itagaki.takah...@gmail.com PostgreSQL version: 9.0.0 (32bit) Operating system: Windows 7 (64bit) Description:initdb failed if path contains symlink Details: Wind