pgsql: Fix two comments in numeric.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix two comments in numeric.c
Date: 2025-10-06 02:24:53
Message-ID: E1v5auD-000GXk-0X@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix two comments in numeric.c

The comments at the top of numeric_int4_safe() and numeric_int8_safe()
mentioned respectively int4_numeric() and int8_numeric(). The intention
is to refer to numeric_int4() and numeric_int8().

Oversights in 4246a977bad6.

Reported-by: jian he <jian(dot)universality(at)gmail(dot)com>
Discussion: https://postgr.es/m/CACJufxFfVt7Jx9_j=juxXyP-6tznN8OcvS9E-QSgp0BrD8KUgA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c7f103028202cec94e12cbe45cebdb5c8fbc392

Modified Files
--------------
src/backend/utils/adt/numeric.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-10-06 05:35:54 pgsql: Add test for pg_stat_reset_single_table_counters() on index
Previous Message Tom Lane 2025-10-05 20:28:06 pgsql: Use SOCK_ERRNO[_SET] in fe-secure-gssapi.c.