Re: [PORTS] Buffered file creation and usage

Tom Lane <[email protected]> Mon, 27 Mar 2006 10:58:07 -0500
Newsgroups gmane.comp.db.postgresql.ports
Message-ID <[email protected]>
"VOGLOZIN W. Amenel" <[email protected]> writes:
> I'm implementing a module in pgsql on the server side (Win32 version, but  
> it's not platform-specific). I need access to a specific file whose name I  
> know (of course!). I'm trying to use a buffered access though the BufFile  
> type (header path is 'include/storage/buffile.h').

Why do you think this is a good idea?  The services provided by
buffile.c aren't really useful for anything except PG temporary files.
AFAICS you'd be better off using fd.c directly.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org