Re: [HACKERS] AllocSetStats uses fprintf instead of elog

2007-11-16 Thread Tom Lane
Zdenek Kotala [EMAIL PROTECTED] 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.

[HACKERS] AllocSetStats uses fprintf instead of elog

2007-11-16 Thread Zdenek Kotala
Function AllocSetStats uses fprintf instead of standard logging method. Is there any reason for it? If not I will rewrite it to use elog(NOTICE,..) instead. Zdenek ---(end of broadcast)--- TIP 9: In versions below 8.0, the