DROP_PUBLICATION(7pg15)
π
DROP_PUBLICATION(7pg15) β PostgreSQL 15.19's "remove a publication" page π
okay so bestie, welcome to the DROP_PUBLICATION(7pg15) manual page from the PostgreSQL 15.19 Documentation β¨ this one is short, iconic, and fully about yeeting a publication out of the database. 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. literally its whole job π
and no cap, the permissions are strict: a publication can only be dropped by its owner or a superuser. that's the vibe check π
π¦ PARAMETERS π¦
IF EXISTSβ do not throw an error if the publication does not exist. in that case, a notice is issued. so it's like "bestie, it's already gone" with a lil notice πnameβ the name of an existing publication. simple as that πCASCADE,RESTRICTβ okay so these key words do not have any effect, since there are no dependencies on publications. they're giving decorative π you can include them, but they're not doing anything here.
π 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 bestie π«Ά this was PostgreSQL 15.19, dated 2026, from the DROP PUBLICATION(7) manual page β and yes, you just read the DROP_PUBLICATION(7pg15) version π mwah π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-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