📜  用户名 sql 代码示例

📅  最后修改于: 2022-03-11 15:05:03.248000             🧑  作者: Mango

代码示例1
/*GET NAME OF USER DATABASE pg*/
SELECT inet_client_addr();
SELECT * FROM pg_stat_activity
WHERE client_addr = inet_client_addr();