---
name: "DROP_PUBLICATION"
section: "7"
platform: "linux"
package: "postgresql"
version: "18.6-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/DROP_PUBLICATION"
---

# DROP\_PUBLICATION(7)

remove a publication

## NAME

DROP\_PUBLICATION - remove a publication

## SYNOPSIS

```
DROP PUBLICATION [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
```

## DESCRIPTION

**DROP PUBLICATION** removes an existing publication from the database.

A publication can only be dropped by its owner or a superuser.

## PARAMETERS

IF EXISTS

Do not throw an error if the publication does not exist. A notice is issued in this case.

*name*

The name of an existing publication.

CASCADE\
 RESTRICT

These key words do not have any effect, since there are no dependencies on publications.

## EXAMPLES

Drop a publication:

```
DROP PUBLICATION mypublication;
```

## COMPATIBILITY

**DROP PUBLICATION** is a PostgreSQL extension.

## SEE ALSO

CREATE PUBLICATION ([**CREATE\_PUBLICATION**(7)](/CREATE_PUBLICATION/7.md)), ALTER PUBLICATION ([**ALTER\_PUBLICATION**(7)](/ALTER_PUBLICATION/7.md))
