"Nickolay" writes:
> Description:Bug with use execute+xml+xml_encode_special_chars
There will be a patch for this in 8.4beta2. I'm not prepared to risk
back-patching it into 8.3 now, however; it's a nontrivial change.
Perhaps after it's gotten a bit of field testing in 8.4 ...
"Nickolay" writes:
> [ install contrib/xml2 and run this function twice: ]
> CREATE OR REPLACE FUNCTION bbb()
> RETURNS xml AS
> $BODY$
> BEGIN
> execute 'select public.xml_encode_special_chars(''1+1'')';
> return 'Hello';
> END;
> $BODY$
> LANGUAGE 'plpgsql' VOLATILE STRICT SECUR
"Nickolay" writes:
> Hello. It's definitely a bug:
So what is public.xml_encode_special_chars()?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
The following bug has been logged online:
Bug reference: 4774
Logged by: Nickolay
Email address: b...@doci.in.ua
PostgreSQL version: 8.3.5
Operating system: Linux app 2.6.18-92.1.1.el5.028stab057.2 #1 SMP Mon Jul
21 17:08:31 MSD 2008 x86_64 x86_64 x86_64 GNU/Linux
Description