fixed postgreesql template encoding and client_encoding