Re: How to handle "could not find function xml_is_well_formed" when restoring database in Version 17

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: George Weaver <gweaver(at)shaw(dot)ca>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to handle "could not find function xml_is_well_formed" when restoring database in Version 17
Date: 2024-10-03 15:31:53
Message-ID: 8f1ed3a9-f402-4c70-a750-edcc01ca0f03@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/3/24 08:20, George Weaver wrote:
> Thanks Tom and Christoph,
>
> Got it!
>
> The function xml_valid is also gone.  Does xml_is_well_formed accomplish
> the same objective?

Gone from where?

https://www.postgresql.org/docs/17/xml2.html

xml_valid ( document text ) → boolean

Parses the given document and returns true if the document is
well-formed XML. (Note: this is an alias for the standard PostgreSQL
function xml_is_well_formed(). The name xml_valid() is technically
incorrect since validity and well-formedness have different meanings in
XML.)

>
> Thanks,
>
> George

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message KK CHN 2024-10-04 04:29:33 CLOSE_WAIT pileup and Application Timeout
Previous Message George Weaver 2024-10-03 15:20:28 Re: How to handle "could not find function xml_is_well_formed" when restoring database in Version 17