Re: PL/Perl embedding string common elements
От | Andrew Dunstan |
---|---|
Тема | Re: PL/Perl embedding string common elements |
Дата | |
Msg-id | 2920.24.211.165.134.1124669291.squirrel@www.dunslane.net обсуждение исходный текст |
Ответ на | Re: PL/Perl embedding string common elements ("Greg Sabino Mullane" <greg@turnstep.com>) |
Список | pgsql-patches |
Greg Sabino Mullane said: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > >> The biggest problem is that "use" is in fact a forbidden operation in >> trusted plperl. > > I would very much like to have use strict available in plperl. You're not alone. That's why we're going through all this. > Is there > any way at all to simply make an exception for 'use strict' (and > perhaps some other pragma) without going through more contortions? I > can't imagine enabling it would in any way make it more "untrusted". > "use" even for pragmas in unfortunately a "require" op, which makes it quite definitely unsafe. There are just some things that we have to forego in trusted plperl. We have worked around a couple of the biggest (strict, warnings, utf8) and can handle others on a case by case basis. If you have a better way I'm all ears. cheers andrew
В списке pgsql-patches по дате отправления: