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: BUG #5674: initdb failed if path contains symlink
Date: 2010-09-24 06:01:38
Message-ID: 201009240601.o8O61cv5062227@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5674
Logged by: Itagaki Takahiro
Email address: itagaki(dot)takahiro(at)gmail(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2010-09-24 07:50:43 Re: libpq: system-wide root.crt
Previous Message Peter Eisentraut 2010-09-24 05:28:20 Re: installer problems