mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Fix xmlattribute escaping XML special characters twice (bug #4822).
Author: Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
This commit is contained in:
@@ -57,6 +57,7 @@ SELECT xmlelement(name foo, bytea 'bar');
|
||||
SELECT xmlelement(name foo, xmlattributes(true as bar));
|
||||
SELECT xmlelement(name foo, xmlattributes('2009-04-09 00:24:37'::timestamp as bar));
|
||||
SELECT xmlelement(name foo, xmlattributes('infinity'::timestamp as bar));
|
||||
SELECT xmlelement(name foo, xmlattributes('<>&"''' as funny, xml 'b<a/>r' as funnier));
|
||||
|
||||
|
||||
SELECT xmlparse(content 'abc');
|
||||
|
||||
Reference in New Issue
Block a user