Re: Buffered file creation and usage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "VOGLOZIN W(dot) Amenel" <amenel(dot)voglozin(at)univ-nantes(dot)fr>
Cc: "pgsql-ports(at)postgresql(dot)org" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: Buffered file creation and usage
Date: 2006-03-27 15:58:07
Message-ID: 14805.1143475087@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"VOGLOZIN W. Amenel" <amenel(dot)voglozin(at)univ-nantes(dot)fr> 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

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Philipp Ott 2006-03-31 21:33:00 pg-library universal binary for mac osx?
Previous Message VOGLOZIN W. Amenel 2006-03-27 13:27:58 Buffered file creation and usage