Deploy Postgres cluster with specific locale
Hello!
I have the need to deploy a cluster and define a specific locale. Normally I would do
pg_createcluster --locale pt_PT.ISO-8859-1 11 main
How can this be achieved using clustercontrol to deploy the cluster with that specific locale?
Thank you!
-
Official comment
Hi,
Since ClusterControl does not use pg_createcluster to initialize the server, I believe the --locale option has to be specified when running initdb command.
Unfortunately, ClusterControl runs the initdb command without the --locale option, and it's hardcoded. I can file a feature request to the dev team to support this. At the time being, you may create the cluster using pg_createcluster with the locale option (or initdb --locale=..), and then import them into ClusterControl via Import Existing Cluster function.
Regards,
AshrafComment actions
Please sign in to leave a comment.
Comments
2 comments