Skip to content

Commit 09f9ca2

Browse files
Update rust/cubesql/cubesql/src/compile/engine/information_schema/postgres/pg_collation.rs
Co-authored-by: Alex Qyoun-ae <[email protected]>
1 parent afca8af commit 09f9ca2

File tree

1 file changed

+3
-0
lines changed
  • rust/cubesql/cubesql/src/compile/engine/information_schema/postgres

1 file changed

+3
-0
lines changed

rust/cubesql/cubesql/src/compile/engine/information_schema/postgres/pg_collation.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ struct PgCatalogCollationBuilder {
4040
collprovider: StringBuilder,
4141
collisdeterministic: BooleanBuilder,
4242
collencoding: Int32Builder,
43+
// Column `colliculocale` renamed to `colllocale` since PostgreSQL 17.
44+
// Support both columns for backward-compatibility.
45+
// Reference: https://pgpedia.info/p/pg_collation.html
4346
colliculocale: StringBuilder,
4447
collcollate: StringBuilder,
4548
collctype: StringBuilder,

0 commit comments

Comments
 (0)