Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fa06a34

Browse files
committed
pg_upgrade: Fix version comparison for global ICU support
Reported-by: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://www.postgresql.org/message-id/20220625151930.GH22452@telsasoft.com
1 parent 401f623 commit fa06a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_upgrade/info.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ get_db_infos(ClusterInfo *cluster)
319319

320320
snprintf(query, sizeof(query),
321321
"SELECT d.oid, d.datname, d.encoding, d.datcollate, d.datctype, ");
322-
if (GET_MAJOR_VERSION(old_cluster.major_version) <= 1500)
322+
if (GET_MAJOR_VERSION(old_cluster.major_version) < 1500)
323323
snprintf(query + strlen(query), sizeof(query) - strlen(query),
324324
"'c' AS datlocprovider, NULL AS daticulocale, ");
325325
else

0 commit comments

Comments
 (0)