pgsql: Zero initialize uses of instr_time about to trigger compiler war - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Zero initialize uses of instr_time about to trigger compiler war
Date
Msg-id E1pJ6NT-004jOG-By@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Zero initialize uses of instr_time about to trigger compiler warnings

These are all not necessary from a correctness POV. However, in the near
future instr_time will be simplified to an int64, at which point gcc would
otherwise start to warn about the changed places.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20230116023639.rn36vf6ajqmfciua@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25b2aba0c3a501e2af9579f1b629f155544935db

Modified Files
--------------
src/backend/access/transam/xlog.c   | 4 ++++
src/backend/storage/buffer/bufmgr.c | 4 ++++
src/backend/storage/file/buffile.c  | 4 ++++
src/backend/storage/ipc/latch.c     | 2 ++
src/bin/psql/common.c               | 6 ++++++
5 files changed, 20 insertions(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Rework format of comments in headers for nodes
Next
From: Noah Misch
Date:
Subject: pgsql: Reject CancelRequestPacket having unexpected length.