win32_tz_warning.patch

application/octet-stream

Filename: win32_tz_warning.patch
Type: application/octet-stream
Part: 0
Message: Re: Win32 timezone matching

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/timezone/pgtz.c 5 0
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c
index 1d37bd9..bdca007 100644
--- a/src/timezone/pgtz.c
+++ b/src/timezone/pgtz.c
@@ -1204,6 +1204,11 @@ identify_system_timezone(void)
 	ereport(WARNING,
 			(errmsg("could not find a match for Windows timezone \"%s\"",
 					tzname)));
+
+	ereport(LOG,
+			(errmsg("could not determine system time zone, defaulting to \"%s\"", "GMT"),
+			 errhint("You can specify the correct timezone in postgresql.conf.")));
+
 	return NULL;
 }
 #endif   /* WIN32 */