"Jim C. Nasby" <decibel(at)decibel(dot)org> writes:>> Feel free to propose better cost equations.
> Where would I look in code to see what's used now?
All the gold is hidden in src/backend/optimizer/path/costsize.c.
regards, tom lane