aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-09-06 11:57:57 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-09-06 11:57:57 -0400
commit129a2f6679fd8891384016b6e2cde6cefda22a7d (patch)
tree8f53ddfe290e9e1244dd450ac748a0848a6c85b3 /src/backend/access/gist/gistbuild.c
parent9e43ab3dd79ddb5a6a3f7cdb5b1d6dffc9e7765b (diff)
downloadpostgresql-129a2f6679fd8891384016b6e2cde6cefda22a7d.tar.gz
postgresql-129a2f6679fd8891384016b6e2cde6cefda22a7d.zip
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
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions