pgd groups list#

Synopsis#

The pgd groups list command is used to display the groups in the EDB Postgres Distributed cluster.

Users and roles#

Requires the bdr_read_all_stats role or higher for the default output. --verbose and JSON output require the bdr_superuser role. See User roles .

Syntax#

pgd groups list [OPTIONS]

Options#

The following options are available for the pgd groups list command:

Short

Long

Description

-v

--verbose

Display detailed information about the groups.

See the Global Options for common global options.

Examples#

List all groups#

pgd groups list
__OUTPUT__
Group Name    Parent Group Name Group Type Nodes
- ------------ ----------------- ---------- -----
democluster                     global     0
dc1_subgroup  democluster       data       3

List all groups with detailed information#

pgd groups list --verbose
__OUTPUT__
Group Name    Parent Group Name Group Type Nodes Raft Leader Write Leader Commit Scope Node Group ID
- ------------ ----------------- ---------- ----- ----------- ------------ ------------ -------------
democluster                     global     0     kaftan                                150732310
dc1_subgroup  democluster       data       3     kaftan      kaboom                    1302278103