Re: to_char() on integer with V format silently wraps on overflow

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Miłosz Bieniek <bieniek(dot)milosz(at)proton(dot)me>
Cc: Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: to_char() on integer with V format silently wraps on overflow
Date: 2026-08-27 10:30:27
Message-ID: CAHGQGwG0OL+TPCxvBi5cMsGCGdZK+rayv8hoTB6rd2NAtzXMYw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Aug 27, 2026 at 5:57 PM Miłosz Bieniek <bieniek(dot)milosz(at)proton(dot)me> wrote:
>
> Hi Andrey
>
> Nice catch! I successfully ran all the tests locally.
> LGTM!

The patch looks good to me, too.
Barring any objections, I'll commit it.

Regards,

--
Fujii Masao

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2026-08-27 11:57:02 Re: autovacuum: automatically propagate updated parameters
Previous Message Peter Eisentraut 2026-08-27 09:59:18 Re: BUG #19637: pg_event_trigger_ddl_commands can't process GRANT ON PROPERTY GRAPH