Deploy Postgres cluster with specific locale

Comments

2 comments

  • Official comment
    Avatar
    Ashraf Sharif

    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,
    Ashraf

    Comment actions Permalink
  • Avatar
    Johan

    Hello Paolo,

    I am just curious why you do not configure the entire server(s) to have this locale as default? 
    It would be very helpful to understand the use case here! 

     

    thanks and good luck  

    Johan

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk