Re: How to do an update with XML column ?

Francisco Olarte <folarte@peoplecall.com>

From: Francisco Olarte <folarte@peoplecall.com>
To: celati Laurent <laurent.celati@gmail.com>
Cc: pgsql-general@postgresql.org
Date: 2024-12-18T12:39:10Z
Lists: pgsql-general
Hi:

On Wed, 18 Dec 2024 at 11:00, celati Laurent <laurent.celati@gmail.com> wrote:

> ERROR:  could not identify an equality operator for type xml
> LINE 39: group by orga_name
>                   ^

Have you tried the obvious group by cast(orga_name as text) ? Never
used XML but most types in postgres convert to text injectively ( but
not bijectively ) ( I mean, same values, same text, but you can have
different text same values ( like the obvious text->float conversion
))


Francisco Olarte.