@@ -395,14 +395,17 @@ check_locale_and_encoding(ControlData *oldctrl,
395
395
ControlData * newctrl )
396
396
{
397
397
if (!equivalent_locale (LC_COLLATE , oldctrl -> lc_collate , newctrl -> lc_collate ))
398
- pg_fatal ("lc_collate cluster values do not match: old \"%s\", new \"%s\"\n" ,
399
- oldctrl -> lc_collate , newctrl -> lc_collate );
398
+ pg_log (PG_FATAL ,
399
+ "lc_collate cluster values do not match: old \"%s\", new \"%s\"\n" ,
400
+ oldctrl -> lc_collate , newctrl -> lc_collate );
400
401
if (!equivalent_locale (LC_CTYPE , oldctrl -> lc_ctype , newctrl -> lc_ctype ))
401
- pg_fatal ("lc_ctype cluster values do not match: old \"%s\", new \"%s\"\n" ,
402
- oldctrl -> lc_ctype , newctrl -> lc_ctype );
402
+ pg_log (PG_FATAL ,
403
+ "lc_ctype cluster values do not match: old \"%s\", new \"%s\"\n" ,
404
+ oldctrl -> lc_ctype , newctrl -> lc_ctype );
403
405
if (!equivalent_encoding (oldctrl -> encoding , newctrl -> encoding ))
404
- pg_fatal ("encoding cluster values do not match: old \"%s\", new \"%s\"\n" ,
405
- oldctrl -> encoding , newctrl -> encoding );
406
+ pg_log (PG_FATAL ,
407
+ "encoding cluster values do not match: old \"%s\", new \"%s\"\n" ,
408
+ oldctrl -> encoding , newctrl -> encoding );
406
409
}
407
410
408
411
/*
0 commit comments