1DROP TRANSFORM(7) PostgreSQL 12.6 Documentation DROP TRANSFORM(7)
2
3
4
6 DROP_TRANSFORM - remove a transform
7
9 DROP TRANSFORM [ IF EXISTS ] FOR type_name LANGUAGE lang_name [ CASCADE | RESTRICT ]
10
12 DROP TRANSFORM removes a previously defined transform.
13
14 To be able to drop a transform, you must own the type and the language.
15 These are the same privileges that are required to create a transform.
16
18 IF EXISTS
19 Do not throw an error if the transform does not exist. A notice is
20 issued in this case.
21
22 type_name
23 The name of the data type of the transform.
24
25 lang_name
26 The name of the language of the transform.
27
28 CASCADE
29 Automatically drop objects that depend on the transform, and in
30 turn all objects that depend on those objects (see Section 5.14).
31
32 RESTRICT
33 Refuse to drop the transform if any objects depend on it. This is
34 the default.
35
37 To drop the transform for type hstore and language plpythonu:
38
39 DROP TRANSFORM FOR hstore LANGUAGE plpythonu;
40
42 This form of DROP TRANSFORM is a PostgreSQL extension. See CREATE
43 TRANSFORM (CREATE_TRANSFORM(7)) for details.
44
46 CREATE TRANSFORM (CREATE_TRANSFORM(7))
47
48
49
50PostgreSQL 12.6 2021 DROP TRANSFORM(7)