upvote
Thankfully postgres is something I know a lot about, so I can speak with some competence.

Genettic algorithms do rely on randomness, but it's pseudorandom, and Postgres seeds GEQO from `geqo_seed` (which defaults to 0).

So the same query, with the same stats, same settings: becomes the same plan.

“Randomised”, yeah, but totally reproducible.

That's the property people actually care about in compilers too btw.

reply
LLMs are also pseudorandom, this is an absolutely ridiculous argument. If you set temperature to zero, enable a greedy decoder, disable KV cache, implement a deterministic (but much slower) matmul, lock batch sizes, and run an LLM on the same hardware, you will 100% get the same result.
reply
That’s a property AI does too so I’m not sure that’s a valid counter. You lose this property in practice due to batching but that’s also true with a real postgres database under concurrent load where you can’t control the ordering of reading from the prng.
reply
[dead]
reply
Man, if I'm basing my opinion of a sideprojects on whether it used an RNG or a PRNG, I know it's time to touch grass.
reply