The following bug has been logged on the website: Bug reference: 7921 Logged by: Vinny Email address: kova...@gmail.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?? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs