RefLib

Reference library for AI

Back

postgresql_16:7.1.131.1 Description

PostgreSQL 16 > Reference > SQL Commands > DROP SUBSCRIPTION > Description

DROP SUBSCRIPTION removes a subscription from the database cluster.

To execute this command the user must be the owner of the subscription.

DROP SUBSCRIPTION cannot be executed inside a transaction block if the subscription is associated with a replication slot. (You can use ALTER SUBSCRIPTION to unset the slot.)

Back