]> begriffs open source - ai-pg/blob - full-docs/txt/sql-droptransform.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-droptransform.txt
1
2 DROP TRANSFORM
3
4    DROP TRANSFORM — remove a transform
5
6 Synopsis
7
8 DROP TRANSFORM [ IF EXISTS ] FOR type_name LANGUAGE lang_name [ CASCADE | RESTRI
9 CT ]
10
11 Description
12
13    DROP TRANSFORM removes a previously defined transform.
14
15    To be able to drop a transform, you must own the type and the language.
16    These are the same privileges that are required to create a transform.
17
18 Parameters
19
20    IF EXISTS
21           Do not throw an error if the transform does not exist. A notice
22           is issued in this case.
23
24    type_name
25           The name of the data type of the transform.
26
27    lang_name
28           The name of the language of the transform.
29
30    CASCADE
31           Automatically drop objects that depend on the transform, and in
32           turn all objects that depend on those objects (see
33           Section 5.15).
34
35    RESTRICT
36           Refuse to drop the transform if any objects depend on it. This
37           is the default.
38
39 Examples
40
41    To drop the transform for type hstore and language plpython3u:
42 DROP TRANSFORM FOR hstore LANGUAGE plpython3u;
43
44 Compatibility
45
46    This form of DROP TRANSFORM is a PostgreSQL extension. See CREATE
47    TRANSFORM for details.
48
49 See Also
50
51    CREATE TRANSFORM