PostgreSQL Maestro online Help
Prev | Return to chapter overview | Next |
Types
PostgreSQL Maestro supports PostgreSQL user-defined types - data types for use in the current database.
A user-defined type must always have input and output functions. These functions determine how the type appears in strings (for input by the user and output to the user) and how the type is organized in memory. The input function takes a null-terminated character string as its argument and returns the internal (in memory) representation of the type. The output function takes the internal representation of the type as argument and returns a null-terminated character string. If we want to do anything more with the type than merely store it, we must provide additional functions to implement whatever operations we'd like to have for the type.
New types are created within Create Type Wizard. In order to run the wizard you should either
or
or
To create a new type with the same properties as one of the existing types has:
|
Types can be edited within Type Editor. In order to run the editor you should either
or
|
To drop a type:
or
and confirm dropping in the dialog window.
|