查看当前连接的用户名: 

 

foo=#select * from current_user;

postgresql 查看用户名

 

 

foo=#select user;

 

查看所有用户名: 

foo=#\du

 

postgresql 查看用户名

 

用户管理可以查看之前的博文:

https://www.cnblogs.com/ryanzheng/p/9427126.html

 

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2021-04-17
  • 2022-02-08
  • 2021-12-23
  • 2022-02-14
  • 2022-12-23
  • 2021-05-04
猜你喜欢
  • 2022-12-23
  • 2022-01-22
  • 2021-11-09
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
相关资源
相似解决方案