Обсуждение: create datatype

Поиск
Список
Период
Сортировка

create datatype

От
Craig Longman
Дата:
some of the databases i'm trying to convert to postgres use user-defined
datatypes to simplify/standardize table creation.  in postgres, the only
thing similar i can find is the 'CREATE TYPE' command, but it is a
little different, and substantially more than i need.  all i need is
basically #DEFINE functionality.  so, its more like aliasing a datatype
to simply map directly to a specific postgres datatype, for (var)chars,
a specific length is also provided.

is this just not available in pgsql right now?

cheers,

-- 
   CraigL->Thx();   Be Developer ID: 5852