BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)

From: rameez(dot)iqbal(at)openbet(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Cc: rameez(dot)iqbal(at)openbet(dot)com
Subject: BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)
Date: 2017-12-15 14:42:32
Message-ID: 20171215144232.29862.10240@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: 14980
Logged by: Rameez Iqbal
Email address: rameez(dot)iqbal(at)openbet(dot)com
PostgreSQL version: 9.3.20
Operating system: centos6
Description:

I couldn't figure out from changelog but looks like
/usr/pgsql-9.3/bin/initdb is now creating data directory if missing and if
already exists then it will throw an error. initdb() function in
/etc/init.d/postgresql-9.3 also creates data directory before calling initdb
which then fails stating data directory already exists. I have remove 'data'
directory creation in service config in order for this work.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Esteban Zimanyi 2017-12-15 17:20:23 Memory leak with SP-GIST indexes
Previous Message Teodor Sigaev 2017-12-15 14:38:50 Re: 10.1: hash index size exploding on vacuum full analyze