5
5
* command, configuration file, and command line options.
6
6
* See src/backend/utils/misc/README for more information.
7
7
*
8
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.77 2002/07/31 17:19:52 tgl Exp $
8
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.78 2002/08/07 17:26:24 tgl Exp $
9
9
*
10
10
* Copyright 2000 by PostgreSQL Global Development Group
11
11
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -1015,8 +1015,8 @@ InitializeGUCOptions(void)
1015
1015
1016
1016
if (conf -> assign_hook )
1017
1017
if (!(* conf -> assign_hook ) (conf -> reset_val , true, false))
1018
- fprintf (stderr , "Failed to initialize %s" ,
1019
- conf -> gen .name );
1018
+ fprintf (stderr , "Failed to initialize %s to %d\n " ,
1019
+ conf -> gen .name , ( int ) conf -> reset_val );
1020
1020
* conf -> variable = conf -> reset_val ;
1021
1021
conf -> session_val = conf -> reset_val ;
1022
1022
break ;
@@ -1029,8 +1029,8 @@ InitializeGUCOptions(void)
1029
1029
Assert (conf -> reset_val <= conf -> max );
1030
1030
if (conf -> assign_hook )
1031
1031
if (!(* conf -> assign_hook ) (conf -> reset_val , true, false))
1032
- fprintf (stderr , "Failed to initialize %s" ,
1033
- conf -> gen .name );
1032
+ fprintf (stderr , "Failed to initialize %s to %d\n " ,
1033
+ conf -> gen .name , conf -> reset_val );
1034
1034
* conf -> variable = conf -> reset_val ;
1035
1035
conf -> session_val = conf -> reset_val ;
1036
1036
break ;
@@ -1043,8 +1043,8 @@ InitializeGUCOptions(void)
1043
1043
Assert (conf -> reset_val <= conf -> max );
1044
1044
if (conf -> assign_hook )
1045
1045
if (!(* conf -> assign_hook ) (conf -> reset_val , true, false))
1046
- fprintf (stderr , "Failed to initialize %s" ,
1047
- conf -> gen .name );
1046
+ fprintf (stderr , "Failed to initialize %s to %g\n " ,
1047
+ conf -> gen .name , conf -> reset_val );
1048
1048
* conf -> variable = conf -> reset_val ;
1049
1049
conf -> session_val = conf -> reset_val ;
1050
1050
break ;
@@ -1077,8 +1077,8 @@ InitializeGUCOptions(void)
1077
1077
newstr = (* conf -> assign_hook ) (str , true, false);
1078
1078
if (newstr == NULL )
1079
1079
{
1080
- fprintf (stderr , "Failed to initialize %s" ,
1081
- conf -> gen .name );
1080
+ fprintf (stderr , "Failed to initialize %s to '%s'\n " ,
1081
+ conf -> gen .name , str );
1082
1082
}
1083
1083
else if (newstr != str )
1084
1084
{
0 commit comments