Character Types

Table 8-4. Character Types Name Description

2016-10-12 11:32:44
Pseudo-Types

The PostgreSQL type system contains a number of special-purpose entries that are collectively called pseudo-types

2016-10-12 11:33:58
pg_lsn Type

The pg_lsn data type can be used to store LSN (Log Sequence Number) data which is a pointer to a location in the XLOG. This type is a representation

2016-10-12 11:33:52
Arrays

PostgreSQL allows columns of a table to be defined as variable-length multidimensional arrays. Arrays of any built-in or user-defined base

2016-10-12 11:32:21
Composite Types

A composite type represents the structure of a row or record; it is essentially just a list of field names and their data types.

2016-10-12 11:32:47
XML Type

The xml data type can be used to store XML data. Its advantage over storing XML data in a text field is that it checks the

2016-10-12 11:34:30
Boolean Type

PostgreSQL provides the standard SQL type boolean; see Table 8-19. The

2016-10-12 11:32:24
Numeric Types

Numeric types consist of two-, four-, and eight-byte integers, four- and eight-byte floating-point numbers, and selectable-precision decimals. Table 8-2 lists the available

2016-10-12 11:33:45
Network Address Types

PostgreSQL offers data types to store IPv4, IPv6, and MAC addresses, as shown in Table 8-21. It is better to use these types instead of plain

2016-10-12 11:33:44
Monetary Types

The money type stores a currency amount with a fixed fractional precision; see Table 8-3. The fractional precision is determined by the database's

2016-10-12 11:33:41