Bruce Momjian <pgman@candle.pha.pa.us> writes:
> But I added code to path.c to skip that if the app is "postgres". Why
> doesn't that work?
That will work fine ... for a standalone backend. Not so fine for
postmaster or bootstrap or other cases that go through main.c.
regards, tom lane