summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2021-07-19 07:46:50 +0000
committerPeter Eisentraut2021-07-19 07:48:09 +0000
commit4d56115f721f3f2c6d3b6f017f40b5103ca71448 (patch)
treef8e5b5201d4e5d2a789ef71351eff2a0ebda66eb
parent2b00db4fb0c7f02f000276bfadaab65a14059168 (diff)
Make UCS_to_most.pl process encodings in sorted order
This just makes the progress output easier to follow. Reviewed-by: Kyotaro Horiguchi <[email protected]> Reviewed-by: Heikki Linnakangas <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected]
-rwxr-xr-xsrc/backend/utils/mb/Unicode/UCS_to_most.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/mb/Unicode/UCS_to_most.pl b/src/backend/utils/mb/Unicode/UCS_to_most.pl
index 4f974388d7..6b699b376d 100755
--- a/src/backend/utils/mb/Unicode/UCS_to_most.pl
+++ b/src/backend/utils/mb/Unicode/UCS_to_most.pl
@@ -54,7 +54,8 @@ my %filename = (
# make maps for all encodings if not specified
my @charsets = (scalar(@ARGV) > 0) ? @ARGV : sort keys(%filename);
-foreach my $charset (@charsets)
+# the sort is just so that the output is easier to eyeball
+foreach my $charset (sort @charsets)
{
my $mapping = &read_source($filename{$charset});