Re: [PATCH] Add pretty-printed XML output option - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Add pretty-printed XML output option
Date
Msg-id d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com
Whole thread Raw
In response to Re: [PATCH] Add pretty-printed XML output option  (Nikolay Samokhvalov <samokhvalov@gmail.com>)
Responses Re: [PATCH] Add pretty-printed XML output option
List pgsql-hackers
On 17.02.23 23:24, Nikolay Samokhvalov wrote:
> 
> My idea was to follow the SQL standard (part 14, SQL/XML); 
> unfortunately, there is no free version, but there are drafts at 
> http://www.wiscorp.com/SQLStandards.html 
> <http://www.wiscorp.com/SQLStandards.html>.
> 
> <XML character string serialization> ::= XMLSERIALIZE <left paren> [ 
> <document or content> ]
> 
> <XML value expression> AS <data type> [ <XML serialize bom> ] [ <XML 
> serialize version> ] [ <XML declaration option> ]
> 
> [ <XML serialize indent> ] <right paren>
> 
> <XML serialize indent> ::= [ NO ] INDENT

Good find.  It would be better to use this standard syntax.



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PATCH: Using BRIN indexes for sorted output
Next
From: Justin Pryzby
Date:
Subject: Re: PATCH: Using BRIN indexes for sorted output