Re: CREATE AGGREGATE disallows STYPE = internal

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: CREATE AGGREGATE disallows STYPE = internal
Дата
Msg-id 491D593C.8090209@sigaev.ru
обсуждение исходный текст
Ответ на CREATE AGGREGATE disallows STYPE = internal  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: CREATE AGGREGATE disallows STYPE = internal  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> internal-accepting functions together this way.  So what I propose is
> that we allow STYPE = internal to be specified in CREATE AGGREGATE,
> but only by superusers, who are trusted not to create security holes
> anyway.

Does that mean that it's possible to use as STYPE pointer to complex C-structure 
with internal pointers?

If yes then performance of ts_stat() could be significantly increased.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Simple postgresql.conf wizard
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Updates of SE-PostgreSQL 8.4devel patches (r1216)