postgresql_16:8.4.5.1 Logical Streaming Replication Parameters
PostgreSQL 16 > Internals > Frontend/Backend Protocol > Logical Streaming Replication Protocol > Logical Streaming Replication Parameters
Using the START_REPLICATION command, pgoutput accepts the following options: proto_version Protocol version. Currently versions 1, 2, 3, and 4 are supported. A valid version is required. Version 2 is supported only for server version 14 and above, and it allows streaming of large in-progress transactions. Version 3 is supported only for server version 15 and above, and it allows streaming of two-phase commits. Version 4 is supported only for server version 16 and above, and it allows streams of large in-progress transactions to be applied in parallel. publication_names Comma separated list of publication names for which to subscribe (receive changes). The individual publication names are treated as standard objects names and can be quoted the same as needed. At least one publication name is required. binary Boolean option to use binary transfer mode. Binary mode is faster than the text mode but slightly less robust. messages Boolean option to enable sending the messages that are written by pg_logical_emit_message. streaming Option to enable streaming of in-progress transactions. Valid values are off (the default), on and parallel. The setting parallel enables sending extra information with some messages to be used for parallelization. Minimum protocol version 2 is required to turn it on. Minimum protocol version 4 is required for the parallel value. two_phase Boolean option to enable two-phase transactions. Minimum protocol version 3 is required to turn it on. origin Option to send changes by their origin. Possible values are "none" to only send the changes that have no origin associated, or "any" to send the changes regardless of their origin. This can be used to avoid loops (infinite replication of the same data) among replication nodes.