Query: drop_type
OS: redhat
Section: 7
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DROPTYPE(7) SQL Commands DROP TYPE(7)NAMEDROP TYPE - remove a user-defined data typeSYNOPSISDROP TYPE typename [, ...] [ CASCADE | RESTRICT ] INPUTS typename The name (optionally schema-qualified) of an existing type. CASCADE Automatically drop objects that depend on the type (such as table columns, functions, operators, etc). RESTRICT Refuse to drop the type if there are any dependent objects. This is the default. OUTPUTS DROP TYPE The message returned if the command is successful. ERROR: RemoveType: type 'typename' does not exist This message occurs if the specified type is not found.DESCRIPTIONDROP TYPE will remove a user type from the system catalogs. Only the owner of a type can remove it.EXAMPLESTo remove the box type: DROP TYPE box;COMPATIBILITYNote that the CREATE TYPE command and the data type extension mechanisms in PostgreSQL differ from SQL99.SEE ALSOCREATE TYPE [create_type(7)] SQL - Language Statements 2002-11-22 DROP TYPE(7)
Related Man Pages |
---|
drop_function(7) - redhat |
drop_language(7) - redhat |
drop_operator_class(7) - redhat |
drop_language(7) - suse |
drop_table(7) - suse |
Similar Topics in the Unix Linux Community |
---|
Include Line Before Pattern Using Sed / Awk |
Sqlplus in shell script |