DROP PUBLICATION(7) PostgreSQL 14.20 Documentation DROP PUBLICATION(7)
NAME
DROP_PUBLICATION - remove a publication
SYNOPSIS
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.
SEE ALSO
CREATE PUBLICATION (CREATE_PUBLICATION(7)), ALTER PUBLICATION (ALTER_PUBLICATION(7))
PostgreSQL 14.20 2025 DROP PUBLICATION(7)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2026-01-10 17:06 @216.73.216.127 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)