This topic describes how to query the minor engine version of an AnalyticDB for PostgreSQL instance.

Prerequisites

You are connected to an AnalyticDB for PostgreSQL instance. For more information about how to connect to an instance, see Use client tools to connect to an instance.

Query the minor version number

Execute the following statement to query the minor version number of an AnalyticDB for PostgreSQL instance:

show adbpg_version;

Sample query result:

 adbpg_version
---------------
 6.3.4.0
(1 row)

Query the minor version release date

Execute the following statement to query the minor version release date of an AnalyticDB for PostgreSQL instance:

show rds_release_date; 

Sample query result:

 rds_release_date
------------------
 20210713
(1 row)

References