Re: plperl Safe restrictions

Поиск
Список
Период
Сортировка
От Jon Jensen
Тема Re: plperl Safe restrictions
Дата
Msg-id Pine.LNX.4.58.0410141948590.1268@louche.swelter.net
обсуждение исходный текст
Ответ на Re: plperl Safe restrictions  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Thu, 14 Oct 2004, Andrew Dunstan wrote:

> >That makes sense. Allowing "rand" would be nice too.
> 
> You can now - it's part of :base_math.

Oh, ok. I saw it's not included in :base_core despite being in :base_math, 
but didn't realize explicitly including :base_math would bring it back.

> What we should do, however, is disallow is calling srand, since pg goes
> to quite a bit of trouble to seed the PRNG.

That sounds reasonable.

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...


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

Предыдущее
От: David Helgason
Дата:
Сообщение: Re: plperl Safe restrictions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname