DROP_PUBLICATION(7pg16)
π
DROP PUBLICATION β the pg16 manual, bestie π
okay so welcome to DROP_PUBLICATION(7pg16), straight from the PostgreSQL 16.15 Documentation. this page is about removing a publication, and it is lowkey one of the most βbye bestieβ commands in the whole database. no cap. π
πΈ NAME πΈ
DROP_PUBLICATION β remove a publication. simple, iconic, to the point. periodt.
β¨ SYNOPSIS β¨
DROP PUBLICATION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
π¦ DESCRIPTION π¦
DROP PUBLICATION removes an existing publication from the database. that's the whole vibe.
A publication can only be dropped by its owner or a superuser. so if you're neither, this command is not your main character moment π.
π PARAMETERS π
IF EXISTSβ do not throw an error if the publication does not exist. a notice is issued in this case. lowkey considerate.nameβ the name of an existing publication. use the actual name, bestie π«ΆCASCADEβ does not have any effect, since there are no dependencies on publications.RESTRICTβ does not have any effect, since there are no dependencies on publications.
π EXAMPLES π
Drop a publication:
DROP PUBLICATION mypublication;
ate. no crumbs. π
β COMPATIBILITY β
DROP PUBLICATION is a PostgreSQL extension. iykyk.
π SEE ALSO π
CREATE PUBLICATION(CREATE_PUBLICATION(7)) β the make-it-happen page β¨ALTER PUBLICATION(ALTER_PUBLICATION(7)) β the change-the-vibe page π
xoxo, this was the DROP PUBLICATION page from the PostgreSQL 16.15 documentation, dated 2026. stay hydrated, drop responsibly, and remember: the vibe changes, the facts do not πππ¦
π¦ where this page comes from
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql16 16.15-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql16 16.15-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