May 2018
Intermediate to advanced
576 pages
30h 25m
English
Enumerative data types are defined like this:
CREATE TYPE satellites_urani AS ENUM ('titania','oberon');
The other popular case is composite data types, which are created as follows:
CREATE TYPE node AS ( node_name text, connstr text, standbys text[]);