Jeff Trout <threshar@real.jefftrout.com> writes:
> it seems there may be some bug with cache coherency when replacing
> functions that use OUT arguments.
Looks like SysCacheGetAttr is making an assumption no longer tenable
(if it ever was), namely that the caller is referencing the same
syscache the tuple was fetched from, rather than another one on the
same catalog. It needs to be prepared to initialize the cache in case
this is the first reference. Will fix.
regards, tom lane