Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group