postgresql/src/backend/utils
Tom Lane e69030cb51 Fix incorrect pg_stat_io output on 32-bit machines.
pg_stat_get_io() applied TimestampTzGetDatum twice to the
stat_reset_timestamp value.  On 64-bit builds that's harmless because
TimestampTzGetDatum is a no-op, but on 32-bit builds it results in
displaying garbage in the stats_reset column of the pg_stat_io view.

Bug dates to commit a9c70b46d which introduced pg_stat_io, so
back-patch to v16 where that came in.

Bertrand Drouvot

Discussion: https://postgr.es/m/Ztrd+XcPTz1zorkg@ip-10-97-1-34.eu-west-3.compute.internal
2024-09-06 11:58:10 -04:00
..
activity Fix a couple of wait event descriptions. 2024-08-20 13:43:20 -05:00
adt Fix incorrect pg_stat_io output on 32-bit machines. 2024-09-06 11:58:10 -04:00
cache Cope with inplace update making catcache stale during TOAST fetch. 2024-06-27 19:21:06 -07:00
error Don't advance origin during apply failure. 2024-08-21 09:08:16 +05:30
fmgr Revise GUC names quoting in messages again 2024-05-17 11:44:26 +02:00
hash Mark hash_corrupted() as pg_attribute_noreturn. 2024-03-17 17:54:45 -04:00
init Increase default vacuum_buffer_usage_limit to 2MB. 2024-04-06 23:12:03 +13:00
mb Make the order of the header file includes consistent 2024-03-13 15:07:00 +01:00
misc Clarify restrict_nonsystem_relation_kind description. 2024-08-30 15:06:07 -07:00
mmgr Fix incorrect sentinel byte logic in GenerationRealloc() 2024-07-06 14:00:06 +12:00
resowner Remove unused typedefs 2024-05-17 07:36:12 +02:00
sort Use bump memory context for tuplesorts 2024-04-08 00:32:26 +12:00
time Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Introduce transaction_timeout 2024-02-15 23:56:12 +02:00
Gen_dummy_probes.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
Gen_fmgrtab.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
generate-errcodes.pl Update copyright for 2024 2024-01-03 20:49:05 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
postprocess_dtrace.sed Update copyright for 2024 2024-01-03 20:49:05 -05:00
probes.d Update copyright for 2024 2024-01-03 20:49:05 -05:00