PostgreSQL 10 Administration Cookbook
上QQ阅读APP看书,第一时间看更新

How to do it…

We will find out the version by directly querying the database server:

  1. Connect to the database and issue the following command:
postgres # SELECT version();
  1. You'll get a response that looks something like this:
PostgreSQL 10.2 on x86_64-apple-darwin16.7.0,
compiled by Apple LLVM version 9.0.0 (clang-900.0.39.2), 64-bit

That's probably too much information all at once!