psql执行sql文件

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=#
 
 
 
posted @ 2019-09-09 17:43  ejQiu  阅读(1917)  评论(0编辑  收藏  举报