Understanding locales

Both the database server and the client library recognize their language and character set environment using a locale definition.