Tom Lane wrote:
> This could be addressed by having the postmaster report its $PGDATA
> value in the pg_ping response, but I would be against that on security
> grounds. We don't let nonprivileged users know where PGDATA is, why
> would we make the information available without any authentication at
> all?
Maybe a hash of it?