pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <shammat@gmx.net>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()
Date: Thu, 13 Oct 2022 15:01:25 -0400
Message-ID: <1063097.1665687685@sss.pgh.pa.us> (raw)
In-Reply-To: <a852238f-fb04-e158-8a94-a044faec70ef@gmx.net>
References: <a852238f-fb04-e158-8a94-a044faec70ef@gmx.net>

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





view thread (4+ messages)  latest in thread

Message-ID: <1063097.1665687685@sss.pgh.pa.us>
Permalink:  ../1063097.1665687685@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1063097.1665687685@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shammat@gmx.net
  Subject: Re: pg_upgrade to 15 fails on Windows because of xml_is_well_formed()
  In-Reply-To: <1063097.1665687685@sss.pgh.pa.us>
  References: <a852238f-fb04-e158-8a94-a044faec70ef@gmx.net> <1063097.1665687685@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox