Re: [GENERAL] Is it OK to create a directory in PGDATA dir

Поиск
Список
Период
Сортировка
От Igal @ Lucee.org
Тема Re: [GENERAL] Is it OK to create a directory in PGDATA dir
Дата
Msg-id 1e5a94bc-d58a-7f6d-ae06-f8bad2cfddcc@lucee.org
обсуждение исходный текст
Ответ на Re: [GENERAL] Is it OK to create a directory in PGDATA dir  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Ответы Re: [GENERAL] Is it OK to create a directory in PGDATA dir
Список pgsql-general
On 10/19/2017 1:25 PM, Tomas Vondra wrote:
On 10/19/2017 09:58 PM, rakeshkumar464 wrote:
In the container world, sometime the only persistent storage path
(that is, storage outside container world) is PGDATA.>
I don't want to be the "You're doing it wrong!" guy, but you're doing it
wrong. If a container only gives you a single persistent storage path,
then don't use it as PGDATA directly, but create PGDATA as one of the
directories in that path. And create a directory for other stuff next to
it, not in the data directory.

+1

That will also pave the way for an upgrade in the future, where you might need another directory for data, e.g. PGDATA-10, PGDATA-11, etc.


Igal Sapir
Lucee Core Developer
Lucee.org

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: [GENERAL] Is it OK to create a directory in PGDATA dir
Следующее
От: Juliano
Дата:
Сообщение: [GENERAL] Alternative to pgAdmin Postgres Manager that support pgagent (jobs)