diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-09-12 10:19:17 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-09-12 10:19:17 +0200 |
commit | 07d8af5e5e0cf5d5187353809920f344a5d20684 (patch) | |
tree | e9d4e4a0dc64ba525f322acad7dc3642603aede9 /src/backend/access/gist/gistutil.c | |
parent | 57796a0f15f8fd3c908aa885a7ebb8ae47ce9880 (diff) | |
download | postgresql-07d8af5e5e0cf5d5187353809920f344a5d20684.tar.gz postgresql-07d8af5e5e0cf5d5187353809920f344a5d20684.zip |
pgstattuple: Use double consistently for percentages
pgstattuple uses data type double for other percentage calculations
and exposes those values to the users via the float8 data type.
However, scanned_percent in struct output_type is of type uint64, even
though it is later returned via Float8GetDatum(). Change it to use
double to be inline with other percentages.
Author: Bharath Rupireddy
Reviewed-by: Peter Eisentraut
Discussion: https://www.postgresql.org/message-id/36ee692b-232f-0484-ce94-dc39d82021ad%40enterprisedb.com
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions