define type_transform to new user defined type

From: Mohsen SM <mohsensoodkhah(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: define type_transform to new user defined type
Date: 2014-02-25 20:29:26
Message-ID: CAGT6x6d_=QxqGdovy3u1ncBvz5__z-1m_GSQAVRPOWeAA3_awQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I want to create new type that is similar to varchar.
its size is variable.
I use CREATE TYPE query.
I define for that type this functions:
1-typein
2-typeoute
3-typemodify_input
4-typemodify_output
5-type_transform
I can define 1 to 4 functions in CREATE TYPE
but I can't define type_transform for that type. how did I can define
type_transform for that type?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-02-25 20:40:39 Re: Dump pageinspect to 1.2: page_header with pg_lsn datatype
Previous Message Robert Haas 2014-02-25 20:12:55 Re: jsonb and nested hstore