My point is that folks with multiple postmasters may not want to use PGDATA, but for folks who have single postmasters, it makes things easier and less error-prone.
--------------------------------------------------------------------------- Bruce Momjian wrote: > > Give it up. As long as we have -D, we will allow PGDATA. If you don't > want to use it, don't use it. > > --------------------------------------------------------------------------- > > Kevin Brown wrote: > > 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 [EMAIL PROTECTED] > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 2: you can get off all lists at once with the unregister command > > (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED]) > > > > -- > Bruce Momjian | http://candle.pha.pa.us > [EMAIL PROTECTED] | (610) 359-1001 > + If your life is a hard drive, | 13 Roberts Road > + Christ can be your backup. | Newtown Square, Pennsylvania 19073 > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])