Zero initialize uses of instr_time about to trigger compiler warnings
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 <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20230116023639.rn36vf6ajqmfciua@awork3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +4 −0 |
| src/backend/storage/buffer/bufmgr.c | modified | +4 −0 |
| src/backend/storage/file/buffile.c | modified | +4 −0 |
| src/backend/storage/ipc/latch.c | modified | +2 −0 |
| src/bin/psql/common.c | modified | +6 −0 |
Discussion
- Reduce timing overhead of EXPLAIN ANALYZE using rdtsc? 172 messages · 2020-06-12 → 2026-05-16