postgresql_16:7.1.82 CREATE SUBSCRIPTION
PostgreSQL 16 > Reference > SQL Commands > CREATE SUBSCRIPTION
define a new subscription
CREATE SUBSCRIPTION subscription_name
CONNECTION 'conninfo'
PUBLICATION publication_name [, ...]
[ WITH ( subscription_parameter [= value] [, ... ] ) ]
CREATE SUBSCRIPTION subscription_name
CONNECTION 'conninfo'
PUBLICATION publication_name [, ...]
[ WITH ( subscription_parameter [= value] [, ... ] ) ]
Subsections
- postgresql_16:7.1.82.1 Description
- postgresql_16:7.1.82.2 Parameters
- postgresql_16:7.1.82.3 Notes
- postgresql_16:7.1.82.4 Examples
- postgresql_16:7.1.82.5 Compatibility
- postgresql_16:7.1.82.6 See Also