Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program
Date
Msg-id 2341065.1751141953@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program  (Dmitry Kovalenko <d.kovalenko@postgrespro.ru>)
List pgsql-bugs
Dmitry Kovalenko <d.kovalenko@postgrespro.ru> writes:
> For my point of view, if you can't provider a valid path in PGDATA, do 
> not do it at all.

I'm not sure which part of "don't rely on PGDATA" you didn't get.
Under normal circumstances, Postgres itself doesn't set that at all.

If you want to establish a site convention that PGDATA is valid,
fine, but then it's on you to set it correctly.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Dmitry Kovalenko
Date:
Subject: Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program