Re: CREATE AGGREGATE disallows STYPE = internal

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: CREATE AGGREGATE disallows STYPE = internal
Дата
Msg-id 603c8f070811140640if4526actf3484fc27410a048@mail.gmail.com
обсуждение исходный текст
Ответ на 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
> You can certainly screw yourself up by connecting some incompatible
> 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.
>
> Comments?

To me, that sounds like a foot-gun you could take out a tank with.

I would feel a lot better about it if we could invent some way of
distinguishing between different types of "internal", based on what is
actually being pointed to.

...Robert


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

Предыдущее
От: "Dmitry Koterov"
Дата:
Сообщение: Re: Sometimes pg_dump generates dump which is not restorable
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1197)