From: | kovaral(at)gmail(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #7921: Problem while initializing db..initdb could not create directory.. |
Date: | 2013-03-06 14:59:53 |
Message-ID: | E1UDFov-0000gl-RO@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 7921
Logged by: Vinny
Email address: kovaral(at)gmail(dot)com
PostgreSQL version: 9.2.1
Operating system: Windows 7
Description:
When I tried to install a product that uses postgres as a database
server,installation fails during the initialization of postgres db..
Error Trace:
<quote>
C:\xyz\bin>call initPgsql.bat
"C:\xyz\bin\\..\pgsql"
"Creating data directory"
"Grant privileges for data directory using icacls.exe ..."
processed file: C:\xyz\bin\\..\pgsql\data
Successfully processed 1 files; Failed processing 0 files
processed file: C:\xyz\bin\\..\pgsql\data
Successfully processed 1 files; Failed processing 0 files
processed file: C:\xyz\bin\\..\pgsql\data
Successfully processed 1 files; Failed processing 0 files
"Running Postgres initdb..."
The files belonging to this database system will be owned by user "xxx".
This user must also own the server process.
The database cluster will be initialized with locale "C".
The default text search configuration will be set to "english".
fixing permissions on existing directory C:/xyz/bin/../pgsql/data ... ok
Creating subdirectories ... initdb: could not create directory "C:/xyz":
File Exists
initdb: removing contents of data directory "C:/xyz/bin/../pgsql/data"
Problem while initializing DB.
</quote>
The actual db dome folder is 'C:/xyz/pgsql'..My question is why pgsql tries
to create directory outside pgsql folder that is already created??
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-03-06 15:48:08 | Re: BUG #7920: Sequence rename leave stale value for sequence_name |
Previous Message | Andres Freund | 2013-03-06 14:51:36 | Re: BUG #7920: Sequence rename leave stale value for sequence_name |