Skip to content

Commit 982078c

Browse files
committed
feat: hard code libc as locale provider
1 parent d50da84 commit 982078c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion-postgres/src/pg_catalog/pg_database.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl<C: CatalogInfo> PgDatabaseTable<C> {
105105
datnames.push(catalog_name.clone());
106106
datdbas.push(10); // Default owner (assuming 10 = postgres user)
107107
encodings.push(6); // 6 = UTF8 in PostgreSQL
108-
datlocproviders.push("".to_string());
108+
datlocproviders.push("libc".to_string());
109109
datcollates.push("en_US.UTF-8".to_string()); // Default collation
110110
datctypes.push("en_US.UTF-8".to_string()); // Default ctype
111111
datistemplates.push(false);
@@ -136,7 +136,7 @@ impl<C: CatalogInfo> PgDatabaseTable<C> {
136136
datnames.push(default_datname);
137137
datdbas.push(10);
138138
encodings.push(6);
139-
datlocproviders.push("".to_string());
139+
datlocproviders.push("libc".to_string());
140140
datcollates.push("en_US.UTF-8".to_string());
141141
datctypes.push("en_US.UTF-8".to_string());
142142
datistemplates.push(false);

0 commit comments

Comments
 (0)