mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-14 18:37:03 +08:00
Add support for converting binary values (i.e. bytea) into xml values,
with new GUC parameter "xmlbinary" that controls the output encoding, as per SQL/XML standard.
This commit is contained in:
@ -45,6 +45,10 @@ SELECT xmlelement(name foo, xml 'bar');
|
||||
SELECT xmlelement(name foo, text 'b<a/>r');
|
||||
SELECT xmlelement(name foo, xml 'b<a/>r');
|
||||
SELECT xmlelement(name foo, array[1, 2, 3]);
|
||||
SET xmlbinary TO base64;
|
||||
SELECT xmlelement(name foo, bytea 'bar');
|
||||
SET xmlbinary TO hex;
|
||||
SELECT xmlelement(name foo, bytea 'bar');
|
||||
|
||||
|
||||
SELECT xmlparse(content 'abc');
|
||||
|
||||
Reference in New Issue
Block a user