File tree 1 file changed +11
-10
lines changed
src/backend/access/transam 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -6228,16 +6228,17 @@ GetXLogReceiptTime(TimestampTz *rtime, bool *fromStream)
6228
6228
* Note that text field supplied is a parameter name and does not require
6229
6229
* translation
6230
6230
*/
6231
- #define RecoveryRequiresIntParameter (param_name , currValue , minValue ) \
6232
- do { \
6233
- if ((currValue) < (minValue)) \
6234
- ereport(ERROR, \
6235
- (errcode(ERRCODE_INVALID_PARAMETER_VALUE), \
6236
- errmsg("hot standby is not possible because %s = %d is a lower setting than on the primary server (its value was %d)", \
6237
- param_name, \
6238
- currValue, \
6239
- minValue))); \
6240
- } while(0)
6231
+ static void
6232
+ RecoveryRequiresIntParameter (const char * param_name , int currValue , int minValue )
6233
+ {
6234
+ if (currValue < minValue )
6235
+ ereport (ERROR ,
6236
+ (errcode (ERRCODE_INVALID_PARAMETER_VALUE ),
6237
+ errmsg ("hot standby is not possible because %s = %d is a lower setting than on the primary server (its value was %d)" ,
6238
+ param_name ,
6239
+ currValue ,
6240
+ minValue )));
6241
+ }
6241
6242
6242
6243
/*
6243
6244
* Check to see if required parameters are set high enough on this server
You can’t perform that action at this time.
0 commit comments