What is the server uptime?

You may wonder, How long is it since the server started?

As mentioned in the previous recipe, we will find this out by asking the database server.

Get PostgreSQL Administration Cookbook, 9.5/9.6 Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.