diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index 42ba5ccb18..1cef96f351 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -42,7 +42,7 @@ * * * IDENTIFICATION - * $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 $ * *------------------------------------------------------------------------- */ @@ -1391,7 +1391,12 @@ log_line_prefix(StringInfo buf) char strfbuf[128]; strftime(strfbuf, sizeof(strfbuf), + /* Win32 timezone names are too long so don't print them. */ +#ifndef WIN32 "%Y-%m-%d %H:%M:%S %Z", +#else + "%Y-%m-%d %H:%M:%S", +#endif localtime(&stamp_time)); appendStringInfoString(buf, strfbuf); }