forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit07d8af5
committed
pgstattuple: Use double consistently for percentages
pgstattuple uses data type double for other percentage calculationsand exposes those values to the users via the float8 data type.However, scanned_percent in struct output_type is of type uint64, eventhough it is later returned via Float8GetDatum(). Change it to usedouble to be inline with other percentages.Author: Bharath RupireddyReviewed-by: Peter EisentrautDiscussion:https://www.postgresql.org/message-id/36ee692b-232f-0484-ce94-dc39d82021ad%40enterprisedb.com1 parent57796a0 commit07d8af5
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
206 |
| - | |
| 206 | + | |
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
|
0 commit comments
Comments
(0)