Re: Remaining beta blockers - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Remaining beta blockers
Date
Msg-id CA+TgmoYgiT7i0EgqdjEFN=cjj=Yk2Zj32Si3guqvuaLaC7OfNA@mail.gmail.com
Whole thread Raw
In response to Re: Remaining beta blockers  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Remaining beta blockers
List pgsql-hackers
On Mon, Apr 29, 2013 at 9:44 PM, Stephen Frost <sfrost@snowman.net> wrote:
> * Kevin Grittner (kgrittn@ymail.com) wrote:
>> If they modified the heap files that way while the server was
>> running, the results would be somewhat unpredictable.  If they did
>> it while the server was stopped, starting the server and attempting
>> to access the matview would generate:
>
> Right, the point being that they could (ab)use it as a flag to trigger
> something to happen.  I'd also be worried about failure cases where
> files appear to be zero-length.

If you assume that people are going to modify files while the backend
is running, nothing we do anywhere is safe.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_ctl non-idempotent behavior change
Next
From: Peter Eisentraut
Date:
Subject: Re: Back branches vs. gcc 4.8.0