We have a production server on windows with a PostgreSQL database described as:
LC_COLLATE = 'Portuguese_Brazil.1252'
LC_CTYPE = 'Portuguese_Brazil.1252'
The thing is, when we work on our development machines, which are all CentOS, the PostgreSQL installation only allow us to create databases on this format:
LC_COLLATE = 'en_US.UTF8'
LC_CTYPE = 'en_US.UTF8'
or
LC_COLLATE = 'pt_BR.UTF8'
LC_CTYPE = 'pt_BR.UTF8'
This is affecting the way we store dates and timestamps on each one of them.
How can i replicate the collation of the windows database on the centOS machine? The other way around can be a solution too.