CONNECTION_ID 功能描述 返回所连接线程的ID。 语法格式 CONNECTION_ID() 示例 select connection_id(); 结果返回如下: connection_id ---------------- 47690763142912 (1 row)