2 doc/src/sgml/ref/drop_publication.sgml
3 PostgreSQL documentation
6 <refentry id=
"sql-droppublication">
7 <indexterm zone=
"sql-droppublication">
8 <primary>DROP PUBLICATION
</primary>
12 <refentrytitle>DROP PUBLICATION
</refentrytitle>
13 <manvolnum>7</manvolnum>
14 <refmiscinfo>SQL - Language Statements
</refmiscinfo>
18 <refname>DROP PUBLICATION
</refname>
19 <refpurpose>remove a publication
</refpurpose>
24 DROP PUBLICATION [ IF EXISTS ]
<replaceable class=
"parameter">name
</replaceable> [, ...] [ CASCADE | RESTRICT ]
29 <title>Description
</title>
32 <command>DROP PUBLICATION
</command> removes an existing publication from
37 A publication can only be dropped by its owner or a superuser.
42 <title>Parameters
</title>
46 <term><literal>IF EXISTS
</literal></term>
49 Do not throw an error if the publication does not exist. A notice is
56 <term><replaceable class=
"parameter">name
</replaceable></term>
59 The name of an existing publication.
65 <term><literal>CASCADE
</literal></term>
66 <term><literal>RESTRICT
</literal></term>
70 These key words do not have any effect, since there are no dependencies
79 <title>Examples
</title>
84 DROP PUBLICATION mypublication;
85 </programlisting></para>
89 <title>Compatibility
</title>
92 <command>DROP PUBLICATION
</command> is a
<productname>PostgreSQL
</productname>
98 <title>See Also
</title>
100 <simplelist type=
"inline">
101 <member><xref linkend=
"sql-createpublication"/></member>
102 <member><xref linkend=
"sql-alterpublication"/></member>