> How do I get rid of this error?
>
> Unrecognized variable client_encoding
>
> It is repeated with every psql command.
The message indicates the backend has been compiled without
--enable-multibyte option, but your frontend has been made with the
option. I guess you have mixed up two different PostgreSQL
installations.
--
Tatsuo Ishii