Set the dictionary's encoding when reading postgresql data.