Re: [HACKERS] plperl and regexps with accented characters - incompatible?
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] plperl and regexps with accented characters - incompatible? |
| Дата | |
| Msg-id | 14290.1195018646@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] plperl and regexps with accented characters - incompatible? (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: [HACKERS] plperl and regexps with accented characters - incompatible?
|
| Список | pgsql-general |
Andrew Dunstan <andrew@dunslane.net> writes:
> I tried something like that briefly and it failed. The trouble is, I
> think, that since the engine tries a require it fails on the op test
> before it even looks to see if the module is already loaded.
I think we have little choice but to report this as a Perl bug. It
essentially means that a "safe" interpreter cannot decide to preload
modules that it thinks are safe; and to add insult to injury, the
engine is apparently trying to require utf8 in some very low-level,
hidden-behind-the-scenes place, yet using high-level trappable
operations to do that. Maybe those are two different bugs. Either
utf8 is part of the Perl core or it isn't; you can't have it both ways.
regards, tom lane
В списке pgsql-general по дате отправления: