Bruce Momjian wrote:
> I just set PGDATA in my login and I don't have to deal with it
> again.
Duh....I just realized a reason you guys might care about this so
much.
It's because you want to be able to start the postmaster from within a
debugger (or profiler, or whatever), and you don't want to have to
mess with command line options from there, right?
Sounds like fixing pg_ctl to use -D explicitly when invoking the
postmaster is the right change to make here, since that's probably how
the majority of the production shops are going to be starting the
database anyway. Takes care of the majority of the "visibility"
problem and leaves PGDATA intact. Thoughts?
--
Kevin Brown kevin(at)sysexperts(dot)com