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_TRANSFORM - remove a transform

Compatibility

This form of DROPTRANSFORM is a PostgreSQL extension. See CREATE TRANSFORM (CREATE_TRANSFORM(7)) for details.

Description

DROPTRANSFORM removes a previously defined transform. 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.

Examples

To drop the transform for type hstore and language plpython3u: DROP TRANSFORM FOR hstore LANGUAGE plpython3u;

Name

DROP_TRANSFORM - remove a transform

Parameters

IF EXISTS Do not throw an error if the transform does not exist. A notice is issued in this case. type_name The name of the data type of the transform. lang_name The name of the language of the transform. CASCADE Automatically drop objects that depend on the transform, and in turn all objects that depend on those objects (see Section 5.15). RESTRICT Refuse to drop the transform if any objects depend on it. This is the default.

See Also

CREATE TRANSFORM (CREATE_TRANSFORM(7)) PostgreSQL 17.5 2025 DROPTRANSFORM(7)

Synopsis

DROP TRANSFORM [ IF EXISTS ] FOR type_name LANGUAGE lang_name [ CASCADE | RESTRICT ]

See Also