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