Re: AllocSetStats uses fprintf instead of elog - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AllocSetStats uses fprintf instead of elog
Date
Msg-id 13562.1195230613@sss.pgh.pa.us
Whole thread Raw
In response to AllocSetStats uses fprintf instead of elog  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Function AllocSetStats uses fprintf instead of standard logging method. 
> Is there any reason for it?

Yes: it's typically called in zero-free-memory situations, and we don't
want to depend on elog() succeeding to be able to find out what happened.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange tuple from ExecutorRun
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: update files for beta3