postgresql查看用户名时间:2022-08-23 08:38:00查看当前连接的用户名: foo=#select * from current_user; 或foo=#select user; 查看所有用户名: foo=#\du