Mark Kirkwood <markir@paradise.net.nz> writes:
> I did some tests with a two tables, one small and one large, I am seeing
> a consistent difference favoring the first-call-only type checking:
We had come to a similar conclusion in regards to making array-related
functions cache lookup info across calls. It's worth checking the
assumption every so often, but the result surprises me not at all.
regards, tom lane