Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Excellent idea. That's how temp tables worked, by bypassing the
> syscache. I wonder if you could just prevent dropped columns from being
> returned by the syscache. That may work just fine.
No, it will break all the places that need to see dropped columns.
I agree that a wrapper function is probably an appropriate solution,
but only some of the calls of SearchSysCache should use it.
regards, tom lane