Command reference#

The command name for the PGD command line interface is pgd .

Synopsis#

The EDB Postgres Distributed Command Line Interface (PGD CLI) is a tool to manage your EDB Postgres Distributed cluster. It allows you to run commands against EDB Postgres Distributed clusters. You can use it to inspect and manage cluster resources.

Global Options#

All commands accept the following global options:

Short

Long

Description

--dsn

Database connection string For example "host=bdr-a1 port=5432 dbname=bdrdb user=postgres"

-f

--config-file

Name/Path to config file. This is ignored if --dsn flag is present Default "/etc/edb/pgd-cli/pgd-cli-config.yml"

-h

--help

Help for pgd - will show specific help for any command used

-L

--log-level

Logging level: debug, info, warn, error (default "error")

-o

--output

Output format: json, yaml

See also#