DROP_PUBLICATION(7pg15)

πŸ“¦ version 15.19, in opensuse-leap 16.0

πŸ’… 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 🌈


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