Sergey Konoplev <[email protected]> writes:
> On Thu, Oct 11, 2012 at 12:19 PM, Sahagian, David
> <[email protected]> wrote:
>> Are there any "extra" costs to logging all this cool stuff ?
>>
>> log_line_prefix = '%m %a %u %p %c %m %v %x'
> The formatting cost only but it is so insignificant that does not
> worth bothering with it.
IIRC, %m would imply a gettimeofday call, which might be expensive
depending on your OS and hardware. I think all the other info is
"just sitting around", though.
regards, tom lane
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general