pgsql: Suppress more compiler warnings in new pgstats code.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress more compiler warnings in new pgstats code.
Date: 2023-03-01 01:30:56
Message-ID: E1pXBJ2-001GZ8-2I@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress more compiler warnings in new pgstats code.

Per buildfarm, we didn't get rid of quite all of the
-Wtautological-constant-out-of-range-compare warnings
in pgstat_io.c.

Discussion: https://postgr.es/m/20520.1677435600@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b1b86820d84e4ddca9396aa6b7c5a496382fe950

Modified Files
--------------
src/backend/utils/activity/pgstat_io.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-03-01 01:32:24 pgsql: doc: Update pg_stat_statements about query ID calculation of uti
Previous Message Michael Paquier 2023-02-28 23:41:10 pgsql: doc: Fix description of pg_get_wal_stats_till_end_of_wal() in pg