]> begriffs open source - ai-pg/blob - full-docs/man7/DROP_PUBLICATION.7
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / man7 / DROP_PUBLICATION.7
1 '\" t
2 .\"     Title: DROP PUBLICATION
3 .\"    Author: The PostgreSQL Global Development Group
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\"      Date: 2025
6 .\"    Manual: PostgreSQL 18.0 Documentation
7 .\"    Source: PostgreSQL 18.0
8 .\"  Language: English
9 .\"
10 .TH "DROP PUBLICATION" "7" "2025" "PostgreSQL 18.0" "PostgreSQL 18.0 Documentation"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 DROP_PUBLICATION \- remove a publication
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 DROP PUBLICATION [ IF EXISTS ] \fIname\fR [, \&.\&.\&.] [ CASCADE | RESTRICT ]
36 .fi
37 .SH "DESCRIPTION"
38 .PP
39 \fBDROP PUBLICATION\fR
40 removes an existing publication from the database\&.
41 .PP
42 A publication can only be dropped by its owner or a superuser\&.
43 .SH "PARAMETERS"
44 .PP
45 IF EXISTS
46 .RS 4
47 Do not throw an error if the publication does not exist\&. A notice is issued in this case\&.
48 .RE
49 .PP
50 \fIname\fR
51 .RS 4
52 The name of an existing publication\&.
53 .RE
54 .PP
55 CASCADE
56 .br
57 RESTRICT
58 .RS 4
59 These key words do not have any effect, since there are no dependencies on publications\&.
60 .RE
61 .SH "EXAMPLES"
62 .PP
63 Drop a publication:
64 .sp
65 .if n \{\
66 .RS 4
67 .\}
68 .nf
69 DROP PUBLICATION mypublication;
70 .fi
71 .if n \{\
72 .RE
73 .\}
74 .SH "COMPATIBILITY"
75 .PP
76 \fBDROP PUBLICATION\fR
77 is a
78 PostgreSQL
79 extension\&.
80 .SH "SEE ALSO"
81 CREATE PUBLICATION (\fBCREATE_PUBLICATION\fR(7)), ALTER PUBLICATION (\fBALTER_PUBLICATION\fR(7))