Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Bossart2024-07-19 16:52:32 +0000
committerNathan Bossart2024-07-19 16:52:32 +0000
commit22b0ccd65d275d227a7d911aede12d34e1b5dfc9 (patch)
tree614ed9fcfcb4b8337ab9d85c3352fb69faf46a75 /src/backend/commands/cluster.c
parentaa607980aee08416211f003ab41aa750f5559712 (diff)
Add overflow checks to money type.
None of the arithmetic functions for the the money type handle overflow. This commit introduces several helper functions with overflow checking and makes use of them in the money type's arithmetic functions. Fixes bug #18240. Reported-by: Alexander Lakhin Author: Joseph Koshakow Discussion: https://postgr.es/m/18240-c5da758d7dc1ecf0%40postgresql.org Discussion: https://postgr.es/m/CAAvxfHdBPOyEGS7s%2Bxf4iaW0-cgiq25jpYdWBqQqvLtLe_t6tw%40mail.gmail.com Backpatch-through: 12
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions