Kevin Brown <kevin(at)sysexperts(dot)com> writes:
> I'm quite interested in knowing why there seems to be so much resistance to
> removing the "potential_DataDir = getenv("PGDATA");" line from
> postmaster.c.
Backwards compatibility. Also, you still haven't explained why
"I don't want to use PGDATA" should translate to "no one should
be allowed to use PGDATA". If you don't set PGDATA, what problem
is there for you in that line being there?
regards, tom lane