dbTalk Databases Forums  

Re: [BUGS] BUG #2816: Logfile difference in timestamp between

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #2816: Logfile difference in timestamp between in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: [BUGS] BUG #2816: Logfile difference in timestamp between - 12-12-2006 , 03:33 PM







--ELM1165959072-887-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"

Tom Lane wrote:
Quote:
"Joost Karaaijeveld" <J.Kraaijeveld (AT) Askesis (DOT) nl> writes:
Printing a timestamp using '%t%' in Windows omits the timezone in the
logfile. In Linux the timezone is printed. Either make the two the same by
default or make it configurable so that the user can make them the same.

The zone name available from Windows is not only too long, but
localized, and we can't be sure that it's given in the right encoding.
So I'm afraid this isn't happening.
Seems this was not documented, so I added a mention and backpatched to
8.2.X.

--
Bruce Momjian bruce (AT) momjian (DOT) us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

--ELM1165959072-887-0_
Content-Transfer-Encoding: 7bit
Content-Type: text/x-diff
Content-Disposition: inline; filename="/bjm/diff"

Index: doc/src/sgml/config.sgml
================================================== =================
RCS file: /cvsroot/pgsql/doc/src/sgml/config.sgml,v
retrieving revision 1.98
diff -c -c -r1.98 config.sgml
*** doc/src/sgml/config.sgml 30 Nov 2006 20:50:44 -0000 1.98
--- doc/src/sgml/config.sgml 12 Dec 2006 21:21:57 -0000
***************
*** 2803,2809 ****
</row>
<row>
<entry><literal>%t</literal></entry>
! <entry>Time stamp (no milliseconds)</entry>
<entry>no</entry>
</row>
<row>
--- 2803,2809 ----
</row>
<row>
<entry><literal>%t</literal></entry>
! <entry>Time stamp (no milliseconds, no timezone on Windows)</entry>
<entry>no</entry>
</row>
<row>

--ELM1165959072-887-0_
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

--ELM1165959072-887-0_--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.