DROP_PUBLICATION(7pg13)
πΈ NAME πΈ
DROP_PUBLICATION β remove a publication. This is the DROP PUBLICATION(7) page from the PostgreSQL 13.23 Documentation, and yes bestie, we're keeping every fact while making it cute. β¨
π¦ SYNOPSIS π¦
DROP PUBLICATION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
π DESCRIPTION π
So DROP PUBLICATION removes an existing publication from the database. That's the main-character move. π
Only the publication's owner or a superuser can drop it β no random group-chat lurker gets to delete stuff. π
π 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 βokay bestie, no drama, here's a lil notice.β πnameβ the name of an existing publication. You gotta know which one you're dropping, iykyk. πCASCADEβ this key word does not have any effect, since there are no dependencies on publications. Lowkey decorative. πRESTRICTβ this key word does not have any effect, since there are no dependencies on publications. Also lowkey decorative. π«
π EXAMPLES π
Drop a publication:
DROP PUBLICATION mypublication;
Ate. β¨
β COMPATIBILITY β
DROP PUBLICATION is a PostgreSQL extension. That's the whole compatibility note, bestie. π
π SEE ALSO π
CREATE PUBLICATION(CREATE_PUBLICATION(7))ALTER PUBLICATION(ALTER_PUBLICATION(7))
π That's the whole page, bestie! This is the DROP PUBLICATION(7) manual from PostgreSQL 13.23, dated 2025. Go forth and drop publications responsibly! ππ¦
π¦ where this page comes from
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-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