Merlin Moncure escribió:
> On Tue, Nov 25, 2008 at 9:03 AM, Alvaro Herrera
> <[EMAIL PROTECTED]> wrote:

> > Why do we _have_ to write the file to disk?  I wonder if it would work
> > to store the file in a mmaped memory region and have the readers get
> > data from there.  We could have more than one copy, reference-counted so
> > that they can be removed when the old readers are gone.
> 
> what about fifo files...would they be appropriate for something like this?

Doubtful -- the collector would have to write the contents every time
someone wanted to read it, and nobody could open it while someone else
is reading (or they'd read from the middle of the contents).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to