@@ -7975,11 +7975,11 @@ call_bool_check_hook(struct config_bool * conf, bool *newval, void **extra,
79757975 ereport (elevel ,
79767976 (errcode (GUC_check_errcode_value ),
79777977 GUC_check_errmsg_string ?
7978- errmsg ("%s" , GUC_check_errmsg_string ) :
7978+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
79797979 errmsg ("invalid value for parameter \"%s\": %d" ,
79807980 conf -> gen .name , (int ) * newval ),
79817981 GUC_check_errdetail_string ?
7982- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
7982+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
79837983 GUC_check_errhint_string ?
79847984 errhint ("%s" , GUC_check_errhint_string ) : 0 ));
79857985 /* Flush any strings created in ErrorContext */
@@ -8009,11 +8009,11 @@ call_int_check_hook(struct config_int * conf, int *newval, void **extra,
80098009 ereport (elevel ,
80108010 (errcode (GUC_check_errcode_value ),
80118011 GUC_check_errmsg_string ?
8012- errmsg ("%s" , GUC_check_errmsg_string ) :
8012+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
80138013 errmsg ("invalid value for parameter \"%s\": %d" ,
80148014 conf -> gen .name , * newval ),
80158015 GUC_check_errdetail_string ?
8016- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8016+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
80178017 GUC_check_errhint_string ?
80188018 errhint ("%s" , GUC_check_errhint_string ) : 0 ));
80198019 /* Flush any strings created in ErrorContext */
@@ -8043,11 +8043,11 @@ call_real_check_hook(struct config_real * conf, double *newval, void **extra,
80438043 ereport (elevel ,
80448044 (errcode (GUC_check_errcode_value ),
80458045 GUC_check_errmsg_string ?
8046- errmsg ("%s" , GUC_check_errmsg_string ) :
8046+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
80478047 errmsg ("invalid value for parameter \"%s\": %g" ,
80488048 conf -> gen .name , * newval ),
80498049 GUC_check_errdetail_string ?
8050- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8050+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
80518051 GUC_check_errhint_string ?
80528052 errhint ("%s" , GUC_check_errhint_string ) : 0 ));
80538053 /* Flush any strings created in ErrorContext */
@@ -8077,11 +8077,11 @@ call_string_check_hook(struct config_string * conf, char **newval, void **extra,
80778077 ereport (elevel ,
80788078 (errcode (GUC_check_errcode_value ),
80798079 GUC_check_errmsg_string ?
8080- errmsg ("%s" , GUC_check_errmsg_string ) :
8080+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
80818081 errmsg ("invalid value for parameter \"%s\": \"%s\"" ,
80828082 conf -> gen .name , * newval ? * newval : "" ),
80838083 GUC_check_errdetail_string ?
8084- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8084+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
80858085 GUC_check_errhint_string ?
80868086 errhint ("%s" , GUC_check_errhint_string ) : 0 ));
80878087 /* Flush any strings created in ErrorContext */
@@ -8111,12 +8111,12 @@ call_enum_check_hook(struct config_enum * conf, int *newval, void **extra,
81118111 ereport (elevel ,
81128112 (errcode (GUC_check_errcode_value ),
81138113 GUC_check_errmsg_string ?
8114- errmsg ("%s" , GUC_check_errmsg_string ) :
8114+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
81158115 errmsg ("invalid value for parameter \"%s\": \"%s\"" ,
81168116 conf -> gen .name ,
81178117 config_enum_lookup_by_value (conf , * newval )),
81188118 GUC_check_errdetail_string ?
8119- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8119+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
81208120 GUC_check_errhint_string ?
81218121 errhint ("%s" , GUC_check_errhint_string ) : 0 ));
81228122 /* Flush any strings created in ErrorContext */
0 commit comments