Re: SearchSysCacheTuple(Copy) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SearchSysCacheTuple(Copy)
Date
Msg-id 2532.974216346@sss.pgh.pa.us
Whole thread Raw
In response to Re: SearchSysCacheTuple(Copy)  (Hiroshi Inoue <Inoue@tpf.co.jp>)
Responses Re: SearchSysCacheTuple(Copy)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
>> A more serious objection to SearchSysCacheTupleCopy is that once the
>> tuple is copied out of the syscache, there isn't any mechanism to
>> detect whether it's still valid.  If an SI message arrives for a
>> recently-copied tuple, we have no way to know if we have a problem
>> or not.

> Is it more serious than doing the wrong thing silently ?

It'd still be doing the wrong thing silently, in my opinion.

This class of bugs has been there since the beginning of Postgres,
so I do not feel that we need to panic about it.  Let's take the
time to design and implement a proper solution, rather than expending
effort on a stopgap solution that'll have to be undone later.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: why transfer limits on ftp.postgresql.org ?
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: UUNET socket-file-location patch