logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

DROP_CONVERSION - remove a conversion

Compatibility

There is no DROPCONVERSION statement in the SQL standard, but a DROPTRANSLATION statement that goes along with the CREATETRANSLATION statement that is similar to the CREATECONVERSION statement in PostgreSQL.

Description

DROPCONVERSION removes a previously defined conversion. To be able to drop a conversion, you must own the conversion.

Examples

To drop the conversion named myname: DROP CONVERSION myname;

Name

DROP_CONVERSION - remove a conversion

Parameters

IF EXISTS Do not throw an error if the conversion does not exist. A notice is issued in this case. name The name of the conversion. The conversion name can be schema-qualified. CASCADE RESTRICT These key words do not have any effect, since there are no dependencies on conversions.

See Also

ALTER CONVERSION (ALTER_CONVERSION(7)), CREATE CONVERSION (CREATE_CONVERSION(7)) PostgreSQL 17.5 2025 DROPCONVERSION(7)

Synopsis

DROP CONVERSION [ IF EXISTS ] name [ CASCADE | RESTRICT ]

See Also