Re: BLOBs and a virtual file system - Mailing list pgsql-hackers

From Frank Wiles
Subject Re: BLOBs and a virtual file system
Date
Msg-id 20040623141651.336781c1.frank@wiles.org
Whole thread Raw
In response to Re: BLOBs and a virtual file system  (Peter Martini <peterm@processflo.com>)
List pgsql-hackers
On Wed, 23 Jun 2004 15:07:42 -0400
Peter Martini <peterm@processflo.com> wrote:

> I'm not sure what you mean by breaking blobs transactional integrity. 
> Do you mean by allowing filesystem type access, the blobs won't be
> properly locked and updated during a transaction?  If so, that's
> exactly what I'm trying to achieve - a compromise between forcing the
> files to be stored solely in the database (maintaining integrity but
> sacrificing functionality) or referencing their names to gain
> functionality, but at a greater cost.
> More to the point, wouldn't file locking mechanisms, and the
> possibility of limiting file visibility through the virtual
> filesystem, allow transactional integrity to be maintained?  If not,
> could you explain where the problem is so I can look further into it?
 I believe the problem is that the blob could be in several different states inside of several different transactions.
Howdo you  determine which you show in the filesystem? 
 
 Even if the file system is read only you still have this problem of "which" of the many possible BLOBs to reveal.  
---------------------------------  Frank Wiles <frank@wiles.org>
http://frank.wiles.org---------------------------------



pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: warning missing
Next
From: Tom Lane
Date:
Subject: Re: PREPARE and transactions