Skip to content

Commit 4d56115

Browse files
committed
Make UCS_to_most.pl process encodings in sorted order
This just makes the progress output easier to follow. Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://www.postgresql.org/message-id/flat/22016aa9-ca59-15c7-01df-f292cb558c4d@enterprisedb.com
1 parent 2b00db4 commit 4d56115

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/utils/mb/Unicode/UCS_to_most.pl

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
# make maps for all encodings if not specified
5555
my @charsets = (scalar(@ARGV) > 0) ? @ARGV : sort keys(%filename);
5656

57-
foreach my $charset (@charsets)
57+
# the sort is just so that the output is easier to eyeball
58+
foreach my $charset (sort @charsets)
5859
{
5960
my $mapping = &read_source($filename{$charset});
6061

0 commit comments

Comments
 (0)