66 * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
77 *
88 * IDENTIFICATION
9- * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.67 2010/03/12 21:40:36 tgl Exp $
9+ * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.68 2010/04/06 20:35:11 mha Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -1091,7 +1091,8 @@ identify_system_timezone(void)
10911091if ((r = RegQueryValueEx (key ,"Std" ,NULL ,NULL ,zonename ,& namesize ))!= ERROR_SUCCESS )
10921092{
10931093ereport (WARNING ,
1094- (errmsg_internal ("could not query value for 'std' to identify Windows timezone: %i" , (int )r )));
1094+ (errmsg_internal ("could not query value for 'std' to identify Windows timezone \"%s\": %i" ,
1095+ keyname , (int )r )));
10951096RegCloseKey (key );
10961097break ;
10971098}
@@ -1107,7 +1108,8 @@ identify_system_timezone(void)
11071108if ((r = RegQueryValueEx (key ,"Dlt" ,NULL ,NULL ,zonename ,& namesize ))!= ERROR_SUCCESS )
11081109{
11091110ereport (WARNING ,
1110- (errmsg_internal ("could not query value for 'dlt' to identify Windows timezone: %i" , (int )r )));
1111+ (errmsg_internal ("could not query value for 'dlt' to identify Windows timezone \"%s\": %i" ,
1112+ keyname , (int )r )));
11111113RegCloseKey (key );
11121114break ;
11131115}