[英]How to find the time postgresql was started via a query
I'm trying to find the start time of a postgres DB, preferably via a query of some system_table (rather than parsing log files). 我试图找到postgres DB的开始时间,最好是通过查询一些system_table(而不是解析日志文件)来找到。 Is it possible? 可能吗?
SELECT pg_postmaster_start_time();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.