| From: | "Igal (at) Lucee(dot)org" <igal(at)lucee(dot)org> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Is it OK to create a directory in PGDATA dir |
| Date: | 2017-10-19 21:49:32 |
| Message-ID: | 1e5a94bc-d58a-7f6d-ae06-f8bad2cfddcc@lucee.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 <http://lucee.org/>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Juliano | 2017-10-19 22:15:41 | Alternative to pgAdmin Postgres Manager that support pgagent (jobs) |
| Previous Message | Tomas Vondra | 2017-10-19 20:25:25 | Re: Is it OK to create a directory in PGDATA dir |