This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new feb9fe9c8a Requires PostgreSQL 18 instead of 15 for enabling the use 
of collation.
feb9fe9c8a is described below

commit feb9fe9c8a67478002287e8b9e4837ad4ab40401
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Tue Mar 17 15:49:35 2026 +0100

    Requires PostgreSQL 18 instead of 15 for enabling the use of collation.
---
 .../main/org/apache/sis/metadata/sql/internal/shared/ScriptRunner.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/sql/internal/shared/ScriptRunner.java
 
b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/sql/internal/shared/ScriptRunner.java
index 84aefe219b..65aaf34aa0 100644
--- 
a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/sql/internal/shared/ScriptRunner.java
+++ 
b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/sql/internal/shared/ScriptRunner.java
@@ -247,7 +247,7 @@ public class ScriptRunner implements AutoCloseable {
             case POSTGRESQL: {
                 final int version = metadata.getDatabaseMajorVersion();
                 isEnumTypeSupported  = (version >=  9);
-                isCollationSupported = (version >= 15);     // Version when 
ICU collation provider is available.
+                isCollationSupported = (version >= 18);     // ICU collation 
provider available since version 15, except LIKE support which is since 18.
                 break;
             }
             case HSQL: {

Reply via email to