Re: strangely worded message

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: strangely worded message
Date: 2025-01-07 20:33:51
Message-ID: 202501072033.ovhn6hjqrpgp@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 hint, "Try returning a string type or bytea.", so I made the
other ones mimic that (and made it a hint rather than detail).

> Are you planning to push a fix yourself or would you like me to?

I just pushed it to both master and 17.

Thanks for looking!

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Si quieres ser creativo, aprende el arte de perder el tiempo"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2025-01-07 20:42:12 Re: PoC: history of recent vacuum/checkpoint runs (using new hooks)
Previous Message Mats Kindahl 2025-01-07 20:27:42 Re: Coccinelle for PostgreSQL development [2/N]: autoconf support [RESEND]