DROP_PUBLICATION (7)
Leading comments
Title: DROP PUBLICATION Author: The PostgreSQL Global Development Group Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 2018 Manual: PostgreSQL 10.6 Documentation Source: PostgreSQL 10.6 Language: English
NAME
DROP_PUBLICATION - remove a publicationSYNOPSIS
DROP PUBLICATION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
DESCRIPTION
DROP PUBLICATION removes an existing publication from the database.
A publication can only be dropped by its owner or a superuser.
PARAMETERS
IF EXISTS
- Do not throw an error if the publication does not exist. A notice is issued in this case.
name
- The name of an existing publication.
CASCADE
RESTRICT
- These key words do not have any effect, since there are no dependencies on publications.
EXAMPLES
Drop a publication:
-
DROP PUBLICATION mypublication;
COMPATIBILITY
DROP PUBLICATION is a PostgreSQL extension.