Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux