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

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Peter Smith <smithpb2250(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: [PATCH] Add pretty-printed XML output option
Date: 2023-02-15 13:49:30
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Accidentally left the VERBOSE settings out -- sorry!

Now it matches the approach used in a xpath test in xml.sql, xml.out,
xml_1.out and xml_2.out

-- Since different libxml versions emit slightly different
-- error messages, we suppress the DETAIL in this test.
\set VERBOSITY terse
SELECT xpath('/*', '<invalidns xmlns=''&lt;''/>');
ERROR:  could not parse XML document
\set VERBOSITY default

v11 now correctly sets xml_2.out.

Best, Jim

Attachment Content-Type Size
v11-0001-Add-pretty-printed-XML-output-option.patch text/x-patch 28.0 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message 2023-02-15 13:51:21 RE: Add LZ4 compression in pg_dump
Previous Message Tomas Vondra 2023-02-15 13:48:46 Re: Use of additional index columns in rows filtering