DROP_TRANSFORM(7pg14)
hey bestie π welcome to the DROP TRANSFORM(7) page, fresh from the PostgreSQL 14.24 Documentation β¨ todayβs main character is DROP_TRANSFORM, and she is here to remove a transform. no cap, periodt. π
β¨ NAME β¨
DROP_TRANSFORM β remove a transform. thatβs the name, thatβs the assignment, and honestly? iconic. π
π¦ SYNOPSIS π¦
DROP TRANSFORM [ IF EXISTS ] FOR type_name LANGUAGE lang_name [ CASCADE | RESTRICT ]
πΈ DESCRIPTION πΈ
DROP_TRANSFORM removes a previously defined transform. lowkey straightforward, highkey powerful. β¨
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 β so yeah, same keys to the castle, bestie. π
π PARAMETERS π
IF EXISTSβ do not throw an error if the transform does not exist. a notice is issued in this case. so chill, itβs not gonna yell at you. π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.14). itβs giving βclean up the whole group chat.β πRESTRICTβ refuse to drop the transform if any objects depend on it. this is the default. protective queen behavior, fr fr. π
π₯ EXAMPLES π₯
say you wanna drop the transform for type hstore and language plpythonu β hereβs the move, bestie:
DROP TRANSFORM FOR hstore LANGUAGE plpythonu;
β COMPATIBILITY β
This form of DROP TRANSFORM is a PostgreSQL extension. See CREATE TRANSFORM (CREATE_TRANSFORM(7)) for details. iykyk. π«Ά
π SEE ALSO π
CREATE TRANSFORM (CREATE_TRANSFORM(7))
mwah π based on the PostgreSQL 14.24 docs, dated 2026, and itβs the DROP TRANSFORM(7) page. byeee, go be iconic with your transforms π«Άβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms