Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set Postgres service locale

jsauni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 29, 2017

Using the postgres service in Bitbucket Pipelines, is it possible to set the locale? Using the default service configuration, and trying to create a database with:

LC_COLLATE = 'English_New Zealand.1252'

Results in the following error:

ERROR:  invalid locale name: "English_New Zealand.1252"

Ideally an option in the bitbucket-pipelines.yml file.

UPDATE: tried setting locale as per below, still invalid locale.

LC_COLLATE = 'en_NZ.UTF-8'

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events