]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove #include <math.h> where not needed
authorÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 15 Jan 2026 18:09:47 +0000 (19:09 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 15 Jan 2026 18:09:47 +0000 (19:09 +0100)
commit35e3fae738e63f4154814dd51d3806d8d8b7b673
treed51573f48d8e18427c52160cc8406bd9c6bebfa4
parent8077649907d40b9831358d0c5121a8c58267a988
Remove #include <math.h> where not needed

Liujinyang reported the one in binaryheap.c, I then found and analyzed
the rest.

For future patches, we require git archaelogical analysis before we
accept patches of this nature.

Co-authored-by: liujinyang <21043272@qq.com>
Co-authored-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/tencent_6B302BFCAF6F010E00AB5C2C0ECB7AA3F205@qq.com
23 files changed:
contrib/btree_gist/btree_numeric.c
contrib/btree_gist/btree_utils_var.c
contrib/intarray/_intbig_gist.c
contrib/ltree/_ltree_gist.c
src/backend/access/heap/vacuumlazy.c
src/backend/access/transam/xlogrecovery.c
src/backend/access/transam/xlogwait.c
src/backend/commands/define.c
src/backend/executor/nodeBitmapHeapscan.c
src/backend/executor/nodeSubplan.c
src/backend/lib/knapsack.c
src/backend/nodes/readfuncs.c
src/backend/optimizer/geqo/geqo_eval.c
src/backend/optimizer/geqo/geqo_pool.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/path/joinpath.c
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/util/pathnode.c
src/backend/statistics/mcv.c
src/backend/utils/adt/numutils.c
src/backend/utils/adt/tid.c
src/common/binaryheap.c
src/include/utils/date.h