Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Kellerer <shammat(at)gmx(dot)net>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()
Date: 2022-10-13 19:01:25
Message-ID: 1063097.1665687685@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Kellerer <shammat(at)gmx(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dean Rasheed 2022-10-13 19:07:08 Re: Exponentiation confusion
Previous Message Thomas Kellerer 2022-10-13 18:54:23 pg_upgrade to 15 fails on Windows because of xml_is_well_formed()