Timezone for %t log_line_prefix - Mailing list pgsql-hackers

From Andreas Pflug
Subject Timezone for %t log_line_prefix
Date
Msg-id 41115761.2030202@pse-consulting.de
Whole thread Raw
Responses Re: Timezone for %t log_line_prefix  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
If %t is used in log_line_prefix, win32's strftime will print a very 
long timezone information, e.g. "W. Europe Daylight Time" where Linux 
would write "UTC". This makes the timestamp consuming more than half of 
an average line length.
Do we have alternatives to the long form? Do we need the timezone 
information at all? We know already it's the server's time. Another 
alternative would be a short timestamp (%t vs. %T) to have both.

Regards,
Andreas



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 7.5 backend crash
Next
From: Andrew Dunstan
Date:
Subject: Re: Timezone for %t log_line_prefix