· 4 min · 4D, PostgreSQL

All Your GUCs in a Row: join_collapse_limit

PostgreSQL's one join-order hint isn't spelled like one: set `join_collapse_limit` to 1 and the planner joins tables in exactly the order you wrote them.

0 comments

· 8 min · FOSSLaw

SB 1000: Everyone Is a Covered Provider Now

California's AI Transparency Act just lost its user threshold.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: jit_debugging_support, jit_dump_bitcode, and jit_profiling_support

Inspect the LLVM bitcode PostgreSQL generates with `jit_dump_bitcode`, or wire JIT-compiled functions into GDB and perf with `jit_debugging_support` and…

0 comments

· 6 min · PostgreSQL

Sixteen Locks Ought to Be Enough for Anybody

Every query locks every index on a table, even ones it doesn't use.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: jit_above_cost, jit_inline_above_cost, and jit_optimize_above_cost

PostgreSQL's JIT compiler fires based on estimated query cost, but that estimate measures data volume, not expression complexity.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: jit_expressions and jit_tuple_deforming

PostgreSQL's JIT compiler has two jobs: compiling expressions and deforming tuples. Here's how to isolate JIT bugs with two simple boolean toggles.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: jit and jit_provider

PostgreSQL's JIT compiler trades upfront compilation time for faster query execution—but it silently does nothing if the LLVM library isn't installed.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: io_method and io_workers

Choose your I/O execution engine with `io_method` and size the worker pool with `io_workers`—and yes, you can resize workers without restarting.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: io_max_concurrency

PostgreSQL 18's new io_max_concurrency caps per-process I/O operations in flight.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: io_combine_limit and io_max_combine_limit

PostgreSQL 17 introduced read streams that combine adjacent disk blocks into larger I/O requests.

0 comments