Re: Missing [NO] INDENT flag in XMLSerialize backward parsing

Jim Jones <jim.jones@uni-muenster.de>

From: Jim Jones <jim.jones@uni-muenster.de>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andrew Dunstan <andrew@dunslane.net>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Pavel Stehule <pavel.stehule@gmail.com>
Date: 2025-02-21T11:57:24Z
Lists: pgsql-hackers
On 21.02.25 12:46, Michael Paquier wrote:
> One way would be to generate by yourself dumps from an older version
> by yourself, as documented by src/bin/pg_upgrade/TESTING, part DETAILS
> (the part about USE_MODULE_DB=1 is very important).  Then you can
> reuse the SQL files by specifying an old dump files in the TAP tests
> of pg_upgrade.  The buildfarm does exactly that. 


Alright, I’ll keep this in mind next time I write something involving
multiple major versions.

Thanks!

Jim





Commits

  1. Fix cross-version upgrades with XMLSERIALIZE(NO INDENT)

  2. Add missing deparsing of [NO] IDENT to XMLSERIALIZE()