aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2024-07-19 11:52:32 -0500
committerNathan Bossart <nathan@postgresql.org>2024-07-19 11:52:32 -0500
commit34e9dce69c4687f8c22831d6b0a1f65fa40c83b1 (patch)
treeaf6b97f1660becbc896e27023f7712db10b972e5 /src/tutorial/basics.source
parent01e2b7f0fd02a44e1d13357b20fecd79919d9031 (diff)
downloadpostgresql-34e9dce69c4687f8c22831d6b0a1f65fa40c83b1.tar.gz
postgresql-34e9dce69c4687f8c22831d6b0a1f65fa40c83b1.zip
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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions