pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Kovalenko <d.kovalenko@postgrespro.ru>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program
Date: Sat, 28 Jun 2025 16:19:13 -0400
Message-ID: <2341065.1751141953@sss.pgh.pa.us> (raw)
In-Reply-To: <ec6c6594-8b0f-487d-a1e9-9f9f456bf573@postgrespro.ru>
References: <18971-53687392b125e4bf@postgresql.org>
	<2334360.1751138005@sss.pgh.pa.us>
	<ec6c6594-8b0f-487d-a1e9-9f9f456bf573@postgrespro.ru>

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





view thread (6+ messages)  latest in thread

Message-ID: <2341065.1751141953@sss.pgh.pa.us>
Permalink:  ../2341065.1751141953@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2341065.1751141953@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, d.kovalenko@postgrespro.ru, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18971: Server passes an invalid (indirect) path in PGDATA to the external program
  In-Reply-To: <2341065.1751141953@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox