Tom Lane writes:
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > There are still many loggings using just plain fprintf(). They should
> > be replaced by elog(DEBUG) or elog(NOTICE), IMHO.
>
> I don't disagree with doing that where it's convenient and safe (which
> is not everywhere). I'm just pointing out that we need a solution that
> covers stderr output as well.
Couldn't we redirect stderr to do what we want? dup(), pipe(), fifo, who
knows.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/