Skip to main content
The stream command helps you manage database streaming operations with pgstream, using logical replication.
You can override the pgstream binary version used by the CLI via the XATA_PGSTREAM_BINARY_VERSION environment variable. See Binary Version Overrides for details.

Subcommands

destroy

Destroy any pgstream setup, removing the replication slot and all the relevant tables/functions/triggers, along with the internal pgstream schema.
string
required
The source URL of the database to clone
string
.env or .yaml config file to use with pgstream if any
string
Log level for pgstream (trace|debug|info|warn|error|fatal|panic, default: info)
string
Source postgres URL where pgstream destroy will be run
string
Name of the postgres replication slot to be deleted by pgstream from the source url
boolean
Print help information and exit

Global Flags

boolean
Print help information and exit
boolean
Output in JSON format