Loading
postgresqlTestHook: explicitly set encoding to UTF8
Otherwise it appears to default to ASCII, causing issues with the tests from libpqxx. It may also affect other use cases where unicode/utf8 characters are used in tests. Related to https://github.com/NixOS/nixpkgs/pull/476936 where the tests are enabled and the issues with the encoding have popped up.