Re: [GENERAL] Extending PostGreSQL/PostGIS with an abstract data type.

2010-04-08 Thread Craig Ringer
donia zheni wrote: > And if it's defined with "typedef", must all operations be defined also > in C or can some functions be defined with plpgsql? If you want a new data type that's only accessible using functions and operators defined to operate on it, you must write it in C. If you wanted to u

[GENERAL] Extending PostGreSQL/PostGIS with an abstract data type.

2010-04-08 Thread donia zheni
Dear all, I have a question concerning "an extension of Postresql/PostGIS with a spatio-temporal Abstract data type". PostgreSQL have many types categories : base types, composite types, domains, etc... I would like to extend PostGIS type system with a new abstract data type. This means th