postgresql/contrib/pg_walinspect
Peter Eisentraut 57796a0f15 Use float8 datatype for percentiles in pg_walinspect stat functions
pg_walinspect uses datatype double (double precision floating point
number) for WAL stats percentile calculations and expose them via
float4 (single precision floating point number), which an unnecessary
loss of precision and confusing. Even though, it's harmless that way,
let's use float8 (double precision floating-point number) to be in
sync with what pg_walinspect does internally and what it exposes to
the users. This seems to be the pattern used elsewhere in the code.

Reported-by: Peter Eisentraut
Author: Bharath Rupireddy
Reviewed-by: Peter Eisentraut
Discussion: https://www.postgresql.org/message-id/36ee692b-232f-0484-ce94-dc39d82021ad%40enterprisedb.com
2022-09-12 10:01:00 +02:00
..
expected Fix buildfarm failures in pg_walinspect tests. 2022-04-08 03:21:12 -07:00
sql Fix buildfarm failures in pg_walinspect tests. 2022-04-08 03:21:12 -07:00
.gitignore Add contrib/pg_walinspect. 2022-04-08 00:26:44 -07:00
Makefile Fix buildfarm failures in pg_walinspect tests. 2022-04-08 03:21:12 -07:00
pg_walinspect--1.0.sql Use float8 datatype for percentiles in pg_walinspect stat functions 2022-09-12 10:01:00 +02:00
pg_walinspect.c Use float8 datatype for percentiles in pg_walinspect stat functions 2022-09-12 10:01:00 +02:00
pg_walinspect.control Add contrib/pg_walinspect. 2022-04-08 00:26:44 -07:00
walinspect.conf Fix buildfarm failures in pg_walinspect tests. 2022-04-08 03:21:12 -07:00