Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed() - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()
Date
Msg-id 1063097.1665687685@sss.pgh.pa.us
Whole thread Raw
In response to pg_upgrade to 15 fails on Windows because of xml_is_well_formed()  (Thomas Kellerer <shammat@gmx.net>)
Responses Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()
List pgsql-general
Thomas Kellerer <shammat@gmx.net> 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



pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()
Next
From: Dean Rasheed
Date:
Subject: Re: Exponentiation confusion