Options (7)
-d, --databasebooleanConvert a physical replica to a logical replica for a specific database
Example:
pg_createsubscriber {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}-D, --pgdatabooleanConvert a physical replica to a logical replica for a specific database
Example:
pg_createsubscriber {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}-P, --publisher-serverbooleanConvert a physical replica to a logical replica for a specific database
Example:
pg_createsubscriber {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}-n, --dry-runbooleanPerform a dry run without modifying the target directory
Example:
pg_createsubscriber {{[-n|--dry-run]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}-T, --enable-two-phasebooleanEnable two-phase commit for the subscription
Example:
pg_createsubscriber {{[-T|--enable-two-phase]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}-v, --verbosebooleanConvert with verbose output
Example:
pg_createsubscriber {{[-v|--verbose]}} {{[-d|--database]}} {{dbname}} {{[-D|--pgdata]}} {{path/to/data}} {{[-P|--publisher-server]}} {{connstr}}--helpbooleanDisplay help
Example:
pg_createsubscriber {{[-?|--help]}}Examples (5)
Convert a physical replica to a logical replica for a specific database
pg_createsubscriber [-d|--database] dbname [-D|--pgdata] path/to/data [-P|--publisher-server] connstrPerform a dry run without modifying the target directory
pg_createsubscriber [-n|--dry-run] [-d|--database] dbname [-D|--pgdata] path/to/data [-P|--publisher-server] connstrEnable two-phase commit for the subscription
pg_createsubscriber [-T|--enable-two-phase] [-d|--database] dbname [-D|--pgdata] path/to/data [-P|--publisher-server] connstrConvert with verbose output
pg_createsubscriber [-v|--verbose] [-d|--database] dbname [-D|--pgdata] path/to/data [-P|--publisher-server] connstrDisplay help
pg_createsubscriber [-?|--help]made by @shridhargupta | data from tldr-pages