Thomas Kellerer <[email protected]> writes:
> When trying pg_upgrade to upgrade Postgres 14 to 15 on Windows 10 this fails
> with:
> pg_restore: error: could not execute query: ERROR: could not find function
> "xml_is_well_formed" in file "c:/Program Files/PostgreSQL/15/lib/pgxml.dll"
> I don't understand why this functions is included in the dump in the first
> place.
Indeed. No such function should be present in any version of contrib/xml2
that was ever converted to extension style. Have you never done that
in this DB?
regards, tom lane