pgsql: Zero initialize uses of instr_time about to trigger compiler war
pgsql: Zero initialize uses of instr_time about to trigger compiler war
От:
Andres Freund <andres@anarazel.de>
Дата:
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 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(+)