Skip to content

Commit 9945f4e

Browse files
committed
Oops, I fumbled the backpatch of pg_upgrade changes.
Somehow I got 9.2 and 9.4 correct, but fumbled 9.3.
1 parent 8f80dcf commit 9945f4e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

contrib/pg_upgrade/check.c

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -395,14 +395,17 @@ check_locale_and_encoding(ControlData *oldctrl,
395395
ControlData *newctrl)
396396
{
397397
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);
400401
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);
403405
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);
406409
}
407410

408411
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy