The following bug has been logged on the website:
Bug reference: 14232
Logged by: Hicham Aouda
Email address: aouda(dot)h(at)me(dot)com
PostgreSQL version: 9.5.3
Operating system: All
Description:
On page 1151 43.3.4. Composite Types
of the pdf documentation for 9.5.3
I suspect a mistake:
it should be :
CREATE TYPE employee AS (
name text,
salary integer,
age integer );
and not
CREATE TABLE employee (
name text,
salary integer,
age integer );