Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initdconfig)

Поиск
Список
Период
Сортировка
От Devrim Gündüz
Тема Re: BUG #14980: initddb fails (Issue with postgresql-9.3 initdconfig)
Дата
Msg-id 1513376681.3398.34.camel@gunduz.org
обсуждение исходный текст
Ответ на BUG #14980: initddb fails (Issue with postgresql-9.3 initd config)  (rameez.iqbal@openbet.com)
Список pgsql-bugs
Hi,

On Fri, 2017-12-15 at 14:42 +0000, rameez.iqbal@openbet.com wrote:

> Bug reference:      14980
> Logged by:          Rameez Iqbal
> Email address:      rameez.iqbal@openbet.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.

I fixed this issue in 9.3.20-5. Please update to this version.

Regards,
--
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: eike
Дата:
Сообщение: pg_restore --create --no-tablespaces should not issue 'CREATEDATABASE ... TABLESPACE'
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_restore --create --no-tablespaces should not issue 'CREATEDATABASE ... TABLESPACE'