How are variables in pg/psql functions passed? I'm sure this is documented somewhere. I looked but no joy. A link would be great! TIA
It is simply - small values are passed by value (to 8bytes), bigger are passed as reference - but all is internal and cannot be controlled from user space.