pgsql: pg_buffercache: Remove unused fields from BufferCacheNumaRec

2025-11-22 Thread Michael Paquier
pg_buffercache: Remove unused fields from BufferCacheNumaRec These fields have been added in commit ba2a3c2302f, and have never been used. While on it, this commit moves a comment that was out of place, improving it. Author: Bertrand Drouvot Discussion: https://postgr.es/m/asbokx6pljzum...@ip-

pgsql: Add SupportRequestInlineInFrom planner support request.

2025-11-22 Thread Tom Lane
Add SupportRequestInlineInFrom planner support request. This request allows a support function to replace a function call appearing in FROM (typically a set-returning function) with an equivalent SELECT subquery. The subquery will then be subject to the planner's usual optimizations, potentially

pgsql: tools: remove src/tools/codelines

2025-11-22 Thread Bruce Momjian
tools: remove src/tools/codelines This is a one-line script never gained general usage since being added in 2005. Backpatch-through: master Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/c0bc9af15197e3604a6ec205a7485de21b0b21af Modified Files -- src/

pgsql: Add range_minus_multi and multirange_minus_multi functions

2025-11-22 Thread Peter Eisentraut
Add range_minus_multi and multirange_minus_multi functions The existing range_minus function raises an exception when the range is "split", because then the result can't be represented by a single range. For example '[0,10)'::int4range - '[4,5)' would be '[0,4)' and '[5,10)'. This commit adds new

pgsql: jit: Adjust AArch64-only code for LLVM 21.

2025-11-22 Thread Thomas Munro
jit: Adjust AArch64-only code for LLVM 21. LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-t

pgsql: jit: Adjust AArch64-only code for LLVM 21.

2025-11-22 Thread Thomas Munro
jit: Adjust AArch64-only code for LLVM 21. LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-t

pgsql: jit: Adjust AArch64-only code for LLVM 21.

2025-11-22 Thread Thomas Munro
jit: Adjust AArch64-only code for LLVM 21. LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-t

pgsql: jit: Adjust AArch64-only code for LLVM 21.

2025-11-22 Thread Thomas Munro
jit: Adjust AArch64-only code for LLVM 21. LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-t

pgsql: jit: Adjust AArch64-only code for LLVM 21.

2025-11-22 Thread Thomas Munro
jit: Adjust AArch64-only code for LLVM 21. LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-t

pgsql: jit: Adjust AArch64-only code for LLVM 21.

2025-11-22 Thread Thomas Munro
jit: Adjust AArch64-only code for LLVM 21. LLVM 21 changed the arguments of RTDyldObjectLinkingLayer's constructor, breaking compilation with the backported SectionMemoryManager from commit 9044fc1d. https://github.com/llvm/llvm-project/commit/cd585864c0bbbd74ed2a2b1ccc191eed4d1c8f90 Backpatch-t