pg_createsubscriber
Convert a physical replica into a new logical replica. tldr-pages
On several platforms
Several platforms
Convert a physical replica to a logical replica for a specific database
pg_createsubscriber --database dbname --pgdata path/to/data --publisher-server connstrIdentifySimulate converting a physical replica to a logical replica without modifying the target directory
pg_createsubscriber --dry-run --database dbname --pgdata path/to/data --publisher-server connstrIdentifyEnable two-phase commit for the subscription
pg_createsubscriber --enable-two-phase --database dbname --pgdata path/to/data --publisher-server connstrIdentifyConvert with verbose output
pg_createsubscriber --verbose --database dbname --pgdata path/to/data --publisher-server connstrIdentifyDisplay help
pg_createsubscriber --helpIdentify