]> begriffs open source - ai-pg/blob - full-docs/txt/sql-dropconversion.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-dropconversion.txt
1
2 DROP CONVERSION
3
4    DROP CONVERSION — remove a conversion
5
6 Synopsis
7
8 DROP CONVERSION [ IF EXISTS ] name [ CASCADE | RESTRICT ]
9
10 Description
11
12    DROP CONVERSION removes a previously defined conversion. To be able to
13    drop a conversion, you must own the conversion.
14
15 Parameters
16
17    IF EXISTS
18           Do not throw an error if the conversion does not exist. A notice
19           is issued in this case.
20
21    name
22           The name of the conversion. The conversion name can be
23           schema-qualified.
24
25    CASCADE
26           RESTRICT
27           These key words do not have any effect, since there are no
28           dependencies on conversions.
29
30 Examples
31
32    To drop the conversion named myname:
33 DROP CONVERSION myname;
34
35 Compatibility
36
37    There is no DROP CONVERSION statement in the SQL standard, but a DROP
38    TRANSLATION statement that goes along with the CREATE TRANSLATION
39    statement that is similar to the CREATE CONVERSION statement in
40    PostgreSQL.
41
42 See Also
43
44    ALTER CONVERSION, CREATE CONVERSION