Re: postgres and initdb not working inside docker

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres and initdb not working inside docker
Дата
Msg-id 2371774.1653586183@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postgres and initdb not working inside docker  (Roffild <roffild@hotmail.com>)
Ответы Re: postgres and initdb not working inside docker  (Roffild <roffild@hotmail.com>)
Список pgsql-hackers
Roffild <roffild@hotmail.com> writes:
> postgres and initdb not working inside docker.
> chmod 755 always for a mounted volume inside docker.

This patch will never be accepted.  You don't need it if you take the
standard advice[1] that the Postgres data directory should not itself
be a mount point.  Instead, make a subdirectory in the mounted volume,
and that can have the ownership and permissions that the server expects.

            regards, tom lane

[1] https://www.postgresql.org/message-id/12168.1312921709%40sss.pgh.pa.us



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: doc: CREATE FOREIGN TABLE .. PARTITION OF .. DEFAULT
Следующее
От: Greg Hennessy
Дата:
Сообщение: selectivity function