/* * XXX Postfix does not send multi-byte characters. The following * piece of code is an explicit statement of this fact, and the * database server should not accept multi-byte information after * this point. */ if (PQsetClientEncoding(host->db, "LATIN1") != 0) { msg_warn("dict_pgsql: cannot set the encoding to LATIN1, skipping %s", host->hostname); plpgsql_down_host(host); return; }