PostgreSQL, Add value encoding and decoding, so that logging shows actual sent text representation.