Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTRee-0007b6-VJ for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Feb 2023 18:09:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pTReb-0002cW-VV for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Feb 2023 18:09:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTRea-0002bk-RV for pgsql-hackers@lists.postgresql.org; Sat, 18 Feb 2023 18:09:45 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTReW-0005Rv-EU for pgsql-hackers@lists.postgresql.org; Sat, 18 Feb 2023 18:09:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 35E99581FE0; Sat, 18 Feb 2023 13:09:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 18 Feb 2023 13:09:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1676743778; x= 1676750978; bh=6LrjcIjiVL17Q77SJnoziJnaAzXvIBvdVTYUPj3HXSY=; b=J x+XGbZ03kwrsL49325zdbYNorb0XeA+SuENpUTwd8Mf2V7hL2a7uckf0IIOdnZiW IIZg3ee9c9YChDJK+l1sSAOmcqERWwlTZYsa5fKrsF2ndgT3tPvrwR5HQBCxqdI1 9Mr7/M+lroQeSE2PIx7Yx+pzapZCmxGLDXALE5kYfzkQ7jnE+HCdR7+7P1y774fB KbzRjBpkH4klyEfLlLOXLK8VfTt+VuF74zKJpW3jtFHLJcoHlybGwfRN1uyRgg+h G4WcrTOdw7Y7KdcAKSQtcURQH9Uz0ef2P2m2k8zKLd7Jy3sZwdtMEno6a0nCSF+S vXGp98SGGEHNa7j/qPc2g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudejuddguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnh htvghrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepffeuffdutdehiefh veejledvffduhedtudehtdetheefudffhedulefgteeghfeunecuffhomhgrihhnpeifih hstghorhhprdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusg drtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 18 Feb 2023 13:09:36 -0500 (EST) Message-ID: Date: Sat, 18 Feb 2023 19:09:34 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] Add pretty-printed XML output option Content-Language: en-US To: Nikolay Samokhvalov , Jim Jones Cc: PostgreSQL Hackers References: <2f5df461-dad8-6d7d-4568-08e10608a69b@uni-muenster.de> <62643598-b80d-90f4-8901-b85dccadf4c4@enterprisedb.com> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 > . > > ::= XMLSERIALIZE [ > ] > > AS [ ] [ serialize version> ] [ ] > > [ ] > > ::= [ NO ] INDENT Good find. It would be better to use this standard syntax.