]> begriffs open source - ai-pg/blob - full-docs/man7/DROP_TRANSFORM.7
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / man7 / DROP_TRANSFORM.7
1 '\" t
2 .\"     Title: DROP TRANSFORM
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 TRANSFORM" "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_TRANSFORM \- remove a transform
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 DROP TRANSFORM [ IF EXISTS ] FOR \fItype_name\fR LANGUAGE \fIlang_name\fR [ CASCADE | RESTRICT ]
36 .fi
37 .SH "DESCRIPTION"
38 .PP
39 \fBDROP TRANSFORM\fR
40 removes a previously defined transform\&.
41 .PP
42 To be able to drop a transform, you must own the type and the language\&. These are the same privileges that are required to create a transform\&.
43 .SH "PARAMETERS"
44 .PP
45 IF EXISTS
46 .RS 4
47 Do not throw an error if the transform does not exist\&. A notice is issued in this case\&.
48 .RE
49 .PP
50 \fItype_name\fR
51 .RS 4
52 The name of the data type of the transform\&.
53 .RE
54 .PP
55 \fIlang_name\fR
56 .RS 4
57 The name of the language of the transform\&.
58 .RE
59 .PP
60 CASCADE
61 .RS 4
62 Automatically drop objects that depend on the transform, and in turn all objects that depend on those objects (see
63 Section\ \&5.15)\&.
64 .RE
65 .PP
66 RESTRICT
67 .RS 4
68 Refuse to drop the transform if any objects depend on it\&. This is the default\&.
69 .RE
70 .SH "EXAMPLES"
71 .PP
72 To drop the transform for type
73 hstore
74 and language
75 plpython3u:
76 .sp
77 .if n \{\
78 .RS 4
79 .\}
80 .nf
81 DROP TRANSFORM FOR hstore LANGUAGE plpython3u;
82 .fi
83 .if n \{\
84 .RE
85 .\}
86 .SH "COMPATIBILITY"
87 .PP
88 This form of
89 \fBDROP TRANSFORM\fR
90 is a
91 PostgreSQL
92 extension\&. See
93 CREATE TRANSFORM (\fBCREATE_TRANSFORM\fR(7))
94 for details\&.
95 .SH "SEE ALSO"
96 CREATE TRANSFORM (\fBCREATE_TRANSFORM\fR(7))