Re: [PATCH] Add pretty-printed XML output option

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com>, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Add pretty-printed XML output option
Date: 2023-02-18 18:09:34
Message-ID: d79950fd-b3f5-783c-919a-a95de23c0c2c@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2023-02-18 18:51:09 Re: PATCH: Using BRIN indexes for sorted output
Previous Message Tomas Vondra 2023-02-18 15:54:57 Re: PATCH: Using BRIN indexes for sorted output