Re: Snapshot synchronization, again...

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Joachim Wieland <joe@mcknight.de>, Alvaro Herrera <alvherre@commandprompt.com>, Noah Misch <noah@leadboat.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-22T13:58:05Z
Lists: pgsql-hackers
On 22.02.2011 15:52, Robert Haas wrote:
> On Tue, Feb 22, 2011 at 8:01 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com>  wrote:
>> Yes. It would be good to perform those sanity checks anyway.
>
> I don't think it's good; I think it's absolutely necessary.  Otherwise
> someone can generate arbitrary garbage, hash it, and feed it to us.
> No?

No, the hash is stored in shared memory. The hash of the garbage has to 
match.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com