We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d157f4c commit abc1d28Copy full SHA for abc1d28
src/backend/utils/error/elog.c
@@ -42,7 +42,7 @@
42
*
43
44
* IDENTIFICATION
45
- * $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.152 2004/10/07 15:21:54 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/error/elog.c,v 1.153 2004/10/09 01:24:47 momjian Exp $
46
47
*-------------------------------------------------------------------------
48
*/
@@ -1391,7 +1391,12 @@ log_line_prefix(StringInfo buf)
1391
char strfbuf[128];
1392
1393
strftime(strfbuf, sizeof(strfbuf),
1394
+ /* Win32 timezone names are too long so don't print them. */
1395
+#ifndef WIN32
1396
"%Y-%m-%d %H:%M:%S %Z",
1397
+#else
1398
+ "%Y-%m-%d %H:%M:%S",
1399
+#endif
1400
localtime(&stamp_time));
1401
appendStringInfoString(buf, strfbuf);
1402
}
0 commit comments