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

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: How to handle "could not find function xml_is_well_formed" when restoring database in Version 17
Дата
Msg-id 8f1ed3a9-f402-4c70-a750-edcc01ca0f03@aklaver.com
обсуждение исходный текст
Ответ на Re: How to handle "could not find function xml_is_well_formed" when restoring database in Version 17  (George Weaver <gweaver@shaw.ca>)
Список 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.klaver@aklaver.com




В списке pgsql-general по дате отправления: