Re: Permissions checks for range-type support functions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Permissions checks for range-type support functions
Дата
Msg-id CA+TgmoaXcR3xFYcGus6Wz-CEO-Q2K9j4N6T-eBu4TPocJKH7Pw@mail.gmail.com
обсуждение исходный текст
Ответ на Permissions checks for range-type support functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Permissions checks for range-type support functions  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Tue, Nov 22, 2011 at 6:38 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 2. The ANALYZE option is flat out dangerous, because it allows any
> function with the signature "f(internal) returns bool" to be called as
> though it's a typanalyze function.  There are a couple of such functions
> in the catalogs already, and either of them will probably crash the
> backend if invoked as typanalyze on a range column.

It's always seemed mildly insane to me that we don't distinguish
between different flavors of "internal".  That seems like an accident
waiting to happen.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Not HOT enough
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Not HOT enough