Skip to main content
added 16 characters in body
Source Link
Igor
  • 2.6k
  • 1
  • 20
  • 20

There is also another way (assuming you want to check them, not modify them):

Check file /var/lib/postgres/data/postgresql.conf (Linux default) Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting 

There is also another way (assuming you want to check them, not modify them):

Check file /var/lib/postgres/data/postgresql.conf Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting 

There is also another way (assuming you want to check them, not modify them):

Check file /var/lib/postgres/data/postgresql.conf (Linux default) Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting 
added 4 characters in body
Source Link
rogerdpack
  • 67.7k
  • 40
  • 290
  • 409

There is also another way (assuming you want to check them, not modify them):

Check file /var/lib/postgres/data/postgresql.conf Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message # strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting 

There is also another way:

Check file /var/lib/postgres/data/postgresql.conf Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message # strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting 

There is also another way (assuming you want to check them, not modify them):

Check file /var/lib/postgres/data/postgresql.conf Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting 
Source Link
pawos
  • 51
  • 1

There is also another way:

Check file /var/lib/postgres/data/postgresql.conf Following lines should be found:

# These settings are initialized by initdb, but they can be changed. lc_messages = 'en_US.UTF-8' # locale for system error message # strings lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting