drop_publication


目录

DROP PUBLICATION

DROP PUBLICATION

7

SQL - Language Statements

DROP PUBLICATION

remove a publication

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


版本号 #2
由 壳壳虫 创建于 2026-10-31 14:11:20 UTC
由 壳壳虫 更新于 2026-10-31 14:11:21 UTC