File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ # pg_recvlogical
2+
3+ > Control PostgreSQL logical decoding streams.
4+ > More information: < https://www.postgresql.org/docs/current/app-pgrecvlogical.html > .
5+
6+ - Create a new logical replication slot:
7+
8+ ` pg_recvlogical {{[-d|--dbname]}} {{dbname}} {{[-S|--slot]}} {{slot_name}} --create-slot `
9+
10+ - Start streaming changes from a logical replication slot to a file:
11+
12+ ` pg_recvlogical {{[-d|--dbname]}} {{dbname}} {{[-S|--slot]}} {{slot_name}} --start {{[-f|--file]}} {{filename}} `
13+
14+ - Drop a logical replication slot:
15+
16+ ` pg_recvlogical {{[-d|--dbname]}} {{dbname}} {{[-S|--slot]}} {{slot_name}} --drop-slot `
17+
18+ - Create a slot with two-phase commit enabled:
19+
20+ ` pg_recvlogical {{[-d|--dbname]}} {{dbname}} {{[-S|--slot]}} {{slot_name}} --create-slot {{[-t|--enable-two-phase]}} `
21+
22+ - Display help:
23+
24+ ` pg_recvlogical {{[-?|--help]}} `
You can’t perform that action at this time.
0 commit comments