show-version#

Shows the version of BDR and Postgres installed on each node.

Synopsis#

Shows the version of BDR and Postgres installed on each node in the cluster.

pgd show-version [flags]

Options#

No specific command options. See Global Options for global options.

Examples#

Show version with a node down#

In this example, there is a 3 node cluster, bdr-a1 and bdr-c1 are up, bdr-b1 is down.

$ pgd show-version
__OUTPUT__
Node   BDR Version Postgres Version
- ---   ----------- ----------------
bdr-c1 4.1.0       14.2 (EDB Postgres Extended Server 14.2.0) (Debian 2:14.2.0edbpge-1.buster+1)
bdr-a1 4.1.0       14.2 (EDB Postgres Extended Server 14.2.0) (Debian 2:14.2.0edbpge-1.buster+1)
bdr-b1

Show version with all nodes up#

In this example, there is a 3 node cluster, all nodes are up.

$ pgd show-version
__OUTPUT__
Node   BDR Version Postgres Version
- ---   ----------- ----------------
bdr-c1 4.1.0       14.2 (EDB Postgres Extended Server 14.2.0) (Debian 2:14.2.0edbpge-1.buster+1)
bdr-a1 4.1.0       14.2 (EDB Postgres Extended Server 14.2.0) (Debian 2:14.2.0edbpge-1.buster+1)
bdr-b1 4.1.0       14.2 (EDB Postgres Extended Server 14.2.0) (Debian 2:14.2.0edbpge-1.buster+1)