1---
2--- CREATE_TYPE
3---
4CREATE FUNCTION text_w_default_in(cstring)
5   RETURNS text_w_default
6   AS 'textin'
7   LANGUAGE internal STABLE STRICT;
8NOTICE:  type "text_w_default" is not yet defined
9DETAIL:  Creating a shell type definition.
10NOTICE:  DDL test: type simple, tag CREATE FUNCTION
11CREATE FUNCTION text_w_default_out(text_w_default)
12   RETURNS cstring
13   AS 'textout'
14   LANGUAGE internal STABLE STRICT ;
15NOTICE:  argument type text_w_default is only a shell
16NOTICE:  DDL test: type simple, tag CREATE FUNCTION
17CREATE TYPE employee_type AS (name TEXT, salary NUMERIC);
18NOTICE:  DDL test: type simple, tag CREATE TYPE
19CREATE TYPE enum_test AS ENUM ('foo', 'bar', 'baz');
20NOTICE:  DDL test: type simple, tag CREATE TYPE
21CREATE TYPE int2range AS RANGE (
22  SUBTYPE = int2
23);
24NOTICE:  DDL test: type simple, tag CREATE TYPE
25