Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> I fixed a few bugs caused by SearchSysCacheTuple()
> recently. There seems to remain more similar bugs.
Yes, I'm sure there are a lot :-(. We have talked about solving this
by using some form of reference-counting in the cache, but I don't
believe anyone's put forward a complete proposal. See for example
the pghackers thread "Another nasty cache problem" around 30-Jan-2000.
regards, tom lane