数据仓库服务 GAUSSDB(DWS)-会话信息函数:pg_postmaster_start_time()

时间:2024-01-26 16:15:17

pg_postmaster_start_time()

描述:服务器启动时间。pg_postmaster_start_time返回服务器启动时的timestamp with time zone。

返回值类型:timestamp with time zone

示例:

1
2
3
4
5
SELECT pg_postmaster_start_time();
   pg_postmaster_start_time   
------------------------------
 2017-08-30 16:02:54.99854+08
(1 row)
support.huaweicloud.com/sqlreference-820-dws/dws_06_0338.html