Hi Amit,
On 2024-Dec-16, Amit Langote wrote:
> > ERROR: cannot use type %s in RETURNING clause of %s
> > DETAIL: Only types json and jsonb are allowed in the RETURNING clause.
> I think I'd go with the one you chose.
Actually I noticed that the one in JSON_SERIALIZE() already has a
different
Hi Alvaro,
On Sat, Dec 14, 2024 at 9:43 PM Alvaro Herrera wrote:
>
> Hello
>
> The following message introduced by commit 03734a7fed7d appears in two
> places:
>
> if (returning->typid != JSONOID && returning->typid != JSONBOID)
> ereport(ERROR,
> (errcode(
Hello
The following message introduced by commit 03734a7fed7d appears in two
places:
if (returning->typid != JSONOID && returning->typid != JSONBOID)
ereport(ERROR,
(errcode(ERRCODE_DATATYPE_MISMATCH),
errmsg("cannot use RETURNING type