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 1pQ4DC-0001hI-A9 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Feb 2023 10:31:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pQ4D9-0001QR-SZ for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Feb 2023 10:31:27 +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 1pQ4D9-0001QI-IV for pgsql-hackers@lists.postgresql.org; Thu, 09 Feb 2023 10:31:27 +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 1pQ4D7-0002Hg-6c for pgsql-hackers@lists.postgresql.org; Thu, 09 Feb 2023 10:31:27 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id D889E581E74; Thu, 9 Feb 2023 05:31:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 09 Feb 2023 05:31:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1675938682; x=1675945882; bh=H cabKtNJYqKu5U9MlBcRm+Q+esxaMs7Xop3fIxwLEMo=; b=Scc3ntLY8CE3DyGNC S6B+GXJpY9F4RWUqmGcFTJuDJPmMxZKg3yu6haHZpsvHMooiRkyYa/cLvrym7ckp ne/xFO+mB6EnEXYKngmJ0ueMJeagrR0Rz4bbOw/TLqs1WPrFqQ/ijklMqWENisU/ 7zuaQtZ63PjfXiuORkQzYc0mPaDeXJ6RPLeSUWEkWWqq0RW+GdVKzmzTibadaUvJ P4tfpXKd2YrXSVkIfZBuuHzP2s4M/fD5sDF+Jd/kVwATP0QG9xDWZc86fJOVdcio 4u/oJypbZqSUbmaWe1iAVoZVgFtt7PmteQcqAilPtDGWLi34keBBjwvA4mX2897k 2xO1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudehfedgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhepfeejgeehteeuhfevvedu leeufedtjeetiefftedvudfhtdeifefgueettdevgefgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht segvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Feb 2023 05:31:21 -0500 (EST) Message-ID: <62643598-b80d-90f4-8901-b85dccadf4c4@enterprisedb.com> Date: Thu, 9 Feb 2023 11:31:08 +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: Jim Jones , PostgreSQL Hackers References: <2f5df461-dad8-6d7d-4568-08e10608a69b@uni-muenster.de> From: Peter Eisentraut In-Reply-To: <2f5df461-dad8-6d7d-4568-08e10608a69b@uni-muenster.de> 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 02.02.23 21:35, Jim Jones wrote: > This small patch introduces a XML pretty print function. It basically > takes advantage of the indentation feature of xmlDocDumpFormatMemory > from libxml2 to format XML strings. I suggest we call it "xmlformat", which is an established term for this.