查看数据表编码:

\encoding

 

修改数据库编码:

update pg_database set encoding = pg_char_to_encoding('UTF8') where datname = 'your_database';

 

 

参考:https://www.cnblogs.com/Tommy-Yu/p/6409494.html

相关文章:

  • 2021-07-07
  • 2022-02-07
  • 2021-11-17
  • 2022-02-09
  • 2021-11-17
猜你喜欢
  • 2022-02-19
  • 2021-04-29
  • 2021-11-17
  • 2021-04-12
  • 2021-10-11
  • 2022-01-04
相关资源
相似解决方案