Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> so it has to be earlier. I can put it much earlier in both postgres and
> postmaster, but by having it in main.c, I have it in only one place. It
> doesn't do any palloc or anything fancy, because of course it is also
> used by client apps.
> Patch attached and applied.
And tested? I didn't say that I thought elog would work in main.c.
In fact I'm pretty certain it won't.
regards, tom lane