postgresql/src/include/jit
Thomas Munro 0951942bba jit: Fix type used for Datum values in LLVM IR.
Commit 2a600a93 made Datum 8 bytes wide everywhere.  It was no longer
appropriate to use TypeSizeT on 32 bit systems, and JIT compilation
would fail with various type check errors.  Introduce a separate
LLVMTypeRef with the name TypeDatum.  TypeSizeT is still used in some
places for actual size_t values.

Reported-by: Dmitry Mityugov <d.mityugov@postgrespro.ru>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Tested-by: Dmitry Mityugov <d.mityugov@postgrespro.ru>
Discussion: https://postgr.es/m/0a9f0be59171c2e8f1b3bc10f4fcf267%40postgrespro.ru
2025-09-17 13:38:35 +12:00
..
jit.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
llvmjit.h jit: Fix type used for Datum values in LLVM IR. 2025-09-17 13:38:35 +12:00
llvmjit_backport.h jit: Remove obsolete LLVM version guard. 2024-11-11 12:07:24 +13:00
llvmjit_emit.h jit: Fix type used for Datum values in LLVM IR. 2025-09-17 13:38:35 +12:00
SectionMemoryManager.h Don't use double-quotes in #include's of system headers, redux. 2025-04-27 13:23:19 -04:00