>>>>> "BM" == Bruce Momjian <pgman@candle.pha.pa.us> writes:
BM> Got it. I recommend changing 'su -l' to 'su -m' to preserve the
BM> environment. How does that sound?
Just tried it and it works ok. The only issue I can think of is if
root has some secret info in the environment, that it will now be
accessible to postgres... but then who puts secret info in their
environment? ;-)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/