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

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Extending PostGreSQL/PostGIS with an abstract data type.
Дата
Msg-id 4BBDC7DE.6080603@postnewspapers.com.au
обсуждение исходный текст
Ответ на Extending PostGreSQL/PostGIS with an abstract data type.  (donia zheni <zheni_donia@yahoo.fr>)
Список pgsql-general
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 use PL/PgSQL to implement some operators, you'd have to
expose innards of the data type at the SQL level. Since you explicitly
do not want to do this, you cannot use PL/PgSQL.

--
Craig Ringer

В списке pgsql-general по дате отправления:

Предыдущее
От: Michał Pawlikowski
Дата:
Сообщение: Re: Grant column level permissions
Следующее
От: Ognjen Blagojevic
Дата:
Сообщение: [offtopic] How do you name a table...