postgres=# select * from pg_file_settings where name = 'client_encoding';
sourcefile | sourceline | seqno | name | setting | applied | error
------------+------------+-------+------+---------+---------+-------
nothing..
2018-07-11 17:46 GMT+03:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> ... btw, another possible aid is
>
> select * from pg_file_settings where name = 'client_encoding';
>
> https://www.postgresql.org/docs/current/static/view-pg-file-settings.html
>
> regards, tom lane
>