Brian McCane <bmccane(at)mccons(dot)net> writes:
> This doesn't make sense to me since the 'iscacheable' only works
> inside of a transaction block.
Nope, wrong definition.
This has been refined for 7.3, but in existing releases "iscachable"
really means "result never changes, *ever*".
regards, tom lane