> Also, I noticed that in backend/util/error/elog.c, it checks for "Pfout !=
> NULL" to see if it's running under the postmaster. If Pfout == NULL, it
> sends its data out to stderr instead of the client.
> Shouldn't it be safe to just if on the global "IsUnderPostmaster" boolean
> here? Or am I missing something? (I'm starting my work by trying to get rid
> of anything other than pqcomm.c using Pfout and Pfin).
Not sure, but it is possible the coder didn't know about the variable.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026