public inbox for [email protected]
help / color / mirror / Atom feedFrom: Francisco Olarte <[email protected]>
To: celati Laurent <[email protected]>
Cc: [email protected]
Subject: Re: How to do an update with XML column ?
Date: Wed, 18 Dec 2024 13:39:10 +0100
Message-ID: <CA+bJJbzn5CdcX6upaMh598QuqvJed7sU1uDJPW_-MAW7cCGR5A@mail.gmail.com> (raw)
In-Reply-To: <CAHByMH0taZ_gnh4kYYkPiOV-ZSRK-MjY=3ViMHzs4T8ddVH1MA@mail.gmail.com>
References: <CAHByMH0taZ_gnh4kYYkPiOV-ZSRK-MjY=3ViMHzs4T8ddVH1MA@mail.gmail.com>
Hi:
On Wed, 18 Dec 2024 at 11:00, celati Laurent <[email protected]> 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.
view thread (2+ messages)
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: How to do an update with XML column ?
In-Reply-To: <CA+bJJbzn5CdcX6upaMh598QuqvJed7sU1uDJPW_-MAW7cCGR5A@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox