djys_test3=# show client_encoding;
client_encoding
-----------------
GBK
(1 行记录)
djys_test3=# \encoding UTF8
djys_test3=# show client_encoding;
client_encoding
-----------------
UTF8
(1 行记录)
djys_test3=# \i F:/test.sql
DROP SEQUENCE
CREATE SEQUENCE
djys_test3=#