Mohsen SM <mohsensoodk...@gmail.com> writes:
> 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:
> 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?
There's no such thing as a "type transform". There are transforms
associated with functions ... unfortunately, there's not currently
any provision for defining those at the SQL level. You could poke
an entry into pg_proc.protransform if you're desperate enough.
regards, tom lane
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: