ALTER TYPE

A DDL command for modifying a custom data type

ALTER TYPE is a DDL command for modifying a custom data type.

ALTER TYPE was added in PostgreSQL 8.0.

Change history

Examples

Some examples of ALTER TYPE for modifying ENUM list values can be found on the ENUM reference page.

Categories

Data type, DDL

See also

CREATE TYPE, DROP TYPE, pg_type