aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
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
commit3764ee47f78c5a332ee6720bdf2e72c8fc9aac35 (patch)
tree043b893dc95458d99076091ac4c8b1f20129cca1 /contrib/postgres_fdw/sql/postgres_fdw.sql
parent80c34692e8e674e3b2f150f248ef2002ae2ac3a7 (diff)
downloadpostgresql-3764ee47f78c5a332ee6720bdf2e72c8fc9aac35.tar.gz
postgresql-3764ee47f78c5a332ee6720bdf2e72c8fc9aac35.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 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions