Re: Fix jsonpath .decimal() to honor silent mode

Ewan Young <kdbase.hack@gmail.com>

From: Ewan Young <kdbase.hack@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Chao Li <li.evan.chao@gmail.com>
Date: 2026-07-02T05:27:00Z
Lists: pgsql-hackers
On Thu, Jul 2, 2026 at 12:50 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Wed, Jul 01, 2026 at 08:32:05PM +0800, Ewan Young wrote:
> > Agreed, that's nicer -- v2 attached does it that way.
>
> Applied that down to v17, and buildfarm members longfin and sifaka are
> complaining about a redefinition of Node on v17 and v18:
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sifaka&dt=2026-07-02%2004%3A00%3A19
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=longfin&dt=2026-07-02%2004%3A12%3A28
>
> This is 15d7dded0e93 all over again.  Double-checking now, if I can..

Confirmed — sorry for the back-branch breakage. Happy to send a v17/v18 patch
(struct Node *escontext, drop the added typedef) if that saves you
time,  otherwise thanks for
taking care of it.

> --
> Michael

-- 
Regards,
Ewan Young



Commits

  1. Fix redefinition of typedef Node in numeric.h

  2. Fix jsonpath .decimal() to honor silent mode