DROP_PUBLICATION(7pg16)

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

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


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