DROP_PUBLICATION(7pg14)
π DROP_PUBLICATION π
okay bestie, this is the DROP_PUBLICATION(7) page from the PostgreSQL 14.24 documentation, and it's literally about yeeting a publication out of your database. no cap, let's get into it. β¨π
β¨ NAME β¨
DROP_PUBLICATION β remove a publication π«Ά
πΈ SYNOPSIS πΈ
DROP PUBLICATION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
π DESCRIPTION π
DROP PUBLICATION removes an existing publication from the database. that's the main character move here.
A publication can only be dropped by its owner or a superuser. so yeah, permissions check first, bestie β no random chaos allowed. π
π¦ PARAMETERS π¦
IF EXISTSβ do not throw an error if the publication does not exist. A notice is issued in this case. so it's like, no dramatic error moment, just a lil heads-up. πnameβ the name of an existing publication. literally the publication's name, bestie. πCASCADE,RESTRICTβ these key words do not have any effect, since there are no dependencies on publications. iconic do-nothing energy, honestly. π
π EXAMPLES π
Drop a publication:
DROP PUBLICATION mypublication;
β COMPATIBILITY β
DROP PUBLICATION is a PostgreSQL extension. periodt. π
π SEE ALSO π
CREATE PUBLICATION(CREATE_PUBLICATION(7))ALTER PUBLICATION(ALTER_PUBLICATION(7))
okay that's the whole page!! brought to you by PostgreSQL 14.24 documentation, dated 2026 β page DROP PUBLICATION(7), signing off ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms