Skip to content

Commit 9eb04dd

Browse files
authored
Merge pull request #41 from cybertec-postgresql/icu
Icu
2 parents 6b614b0 + 5bedace commit 9eb04dd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pkg/cluster/k8sres.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,11 @@ func generateSpiloJSONConfiguration(pg *cpov1.PostgresqlParam, patroni *cpov1.Pa
329329
config.Bootstrap = pgBootstrap{}
330330

331331
config.Bootstrap.Initdb = []interface{}{map[string]string{"auth-host": "scram-sha-256"},
332-
map[string]string{"auth-local": "trust"}}
332+
map[string]string{"auth-local": "trust"},
333+
map[string]string{"encoding": "UTF8"},
334+
map[string]string{"locale": "en_US.UTF-8"},
335+
map[string]string{"locale-provider": "icu"},
336+
map[string]string{"icu-locale": "en_US"}}
333337
if enableTDE {
334338
config.Bootstrap.Initdb = append(config.Bootstrap.Initdb, map[string]string{"encryption-key-command": "/scripts/pgee/tde.sh"})
335339
}

0 commit comments

Comments
 (0)