pgsql: Fix potential integer overflow in bringetbitmap()

2025-01-13 Thread Michael Paquier
Fix potential integer overflow in bringetbitmap() This function expects an "int64" as result and stores the number of pages to add to the index scan bitmap as an "int", multiplying its final result by 10. For a relation large enough, this can theoretically overflow if counting more than (INT32_MA

pgsql: Fix potential integer overflow in bringetbitmap()

2025-01-13 Thread Michael Paquier
Fix potential integer overflow in bringetbitmap() This function expects an "int64" as result and stores the number of pages to add to the index scan bitmap as an "int", multiplying its final result by 10. For a relation large enough, this can theoretically overflow if counting more than (INT32_MA

pgsql: Fix potential integer overflow in bringetbitmap()

2025-01-13 Thread Michael Paquier
Fix potential integer overflow in bringetbitmap() This function expects an "int64" as result and stores the number of pages to add to the index scan bitmap as an "int", multiplying its final result by 10. For a relation large enough, this can theoretically overflow if counting more than (INT32_MA

pgsql: Fix potential integer overflow in bringetbitmap()

2025-01-13 Thread Michael Paquier
Fix potential integer overflow in bringetbitmap() This function expects an "int64" as result and stores the number of pages to add to the index scan bitmap as an "int", multiplying its final result by 10. For a relation large enough, this can theoretically overflow if counting more than (INT32_MA

pgsql: Fix potential integer overflow in bringetbitmap()

2025-01-13 Thread Michael Paquier
Fix potential integer overflow in bringetbitmap() This function expects an "int64" as result and stores the number of pages to add to the index scan bitmap as an "int", multiplying its final result by 10. For a relation large enough, this can theoretically overflow if counting more than (INT32_MA

pgsql: Fix potential integer overflow in bringetbitmap()

2025-01-13 Thread Michael Paquier
Fix potential integer overflow in bringetbitmap() This function expects an "int64" as result and stores the number of pages to add to the index scan bitmap as an "int", multiplying its final result by 10. For a relation large enough, this can theoretically overflow if counting more than (INT32_MA