@@ -7985,11 +7985,11 @@ call_bool_check_hook(struct config_bool * conf, bool *newval, void **extra,
7985
7985
ereport (elevel ,
7986
7986
(errcode (GUC_check_errcode_value ),
7987
7987
GUC_check_errmsg_string ?
7988
- errmsg ("%s" , GUC_check_errmsg_string ) :
7988
+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
7989
7989
errmsg ("invalid value for parameter \"%s\": %d" ,
7990
7990
conf -> gen .name , (int ) * newval ),
7991
7991
GUC_check_errdetail_string ?
7992
- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
7992
+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
7993
7993
GUC_check_errhint_string ?
7994
7994
errhint ("%s" , GUC_check_errhint_string ) : 0 ));
7995
7995
/* Flush any strings created in ErrorContext */
@@ -8019,11 +8019,11 @@ call_int_check_hook(struct config_int * conf, int *newval, void **extra,
8019
8019
ereport (elevel ,
8020
8020
(errcode (GUC_check_errcode_value ),
8021
8021
GUC_check_errmsg_string ?
8022
- errmsg ("%s" , GUC_check_errmsg_string ) :
8022
+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
8023
8023
errmsg ("invalid value for parameter \"%s\": %d" ,
8024
8024
conf -> gen .name , * newval ),
8025
8025
GUC_check_errdetail_string ?
8026
- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8026
+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
8027
8027
GUC_check_errhint_string ?
8028
8028
errhint ("%s" , GUC_check_errhint_string ) : 0 ));
8029
8029
/* Flush any strings created in ErrorContext */
@@ -8053,11 +8053,11 @@ call_real_check_hook(struct config_real * conf, double *newval, void **extra,
8053
8053
ereport (elevel ,
8054
8054
(errcode (GUC_check_errcode_value ),
8055
8055
GUC_check_errmsg_string ?
8056
- errmsg ("%s" , GUC_check_errmsg_string ) :
8056
+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
8057
8057
errmsg ("invalid value for parameter \"%s\": %g" ,
8058
8058
conf -> gen .name , * newval ),
8059
8059
GUC_check_errdetail_string ?
8060
- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8060
+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
8061
8061
GUC_check_errhint_string ?
8062
8062
errhint ("%s" , GUC_check_errhint_string ) : 0 ));
8063
8063
/* Flush any strings created in ErrorContext */
@@ -8087,11 +8087,11 @@ call_string_check_hook(struct config_string * conf, char **newval, void **extra,
8087
8087
ereport (elevel ,
8088
8088
(errcode (GUC_check_errcode_value ),
8089
8089
GUC_check_errmsg_string ?
8090
- errmsg ("%s" , GUC_check_errmsg_string ) :
8090
+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
8091
8091
errmsg ("invalid value for parameter \"%s\": \"%s\"" ,
8092
8092
conf -> gen .name , * newval ? * newval : "" ),
8093
8093
GUC_check_errdetail_string ?
8094
- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8094
+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
8095
8095
GUC_check_errhint_string ?
8096
8096
errhint ("%s" , GUC_check_errhint_string ) : 0 ));
8097
8097
/* Flush any strings created in ErrorContext */
@@ -8121,12 +8121,12 @@ call_enum_check_hook(struct config_enum * conf, int *newval, void **extra,
8121
8121
ereport (elevel ,
8122
8122
(errcode (GUC_check_errcode_value ),
8123
8123
GUC_check_errmsg_string ?
8124
- errmsg ("%s" , GUC_check_errmsg_string ) :
8124
+ errmsg_internal ("%s" , GUC_check_errmsg_string ) :
8125
8125
errmsg ("invalid value for parameter \"%s\": \"%s\"" ,
8126
8126
conf -> gen .name ,
8127
8127
config_enum_lookup_by_value (conf , * newval )),
8128
8128
GUC_check_errdetail_string ?
8129
- errdetail ("%s" , GUC_check_errdetail_string ) : 0 ,
8129
+ errdetail_internal ("%s" , GUC_check_errdetail_string ) : 0 ,
8130
8130
GUC_check_errhint_string ?
8131
8131
errhint ("%s" , GUC_check_errhint_string ) : 0 ));
8132
8132
/* Flush any strings created in ErrorContext */
0 commit comments