From: Tom Lane <tgl@sss.pgh.pa.us>
To: VOGLOZIN W. Amenel <amenel.voglozin@univ-nantes.fr>
Cc: pgsql-ports@postgresql.org <pgsql-ports@postgresql.org>
Subject: Re: Buffered file creation and usage
Date: Mon, 27 Mar 2006 10:58:07 -0500
Message-ID: <14805.1143475087@sss.pgh.pa.us> (raw)
In-Reply-To: <op.s62qcwstxwch8s@pc-saintpaul.irin.sciences.univ-nantes.prive>
References: <op.s62qcwstxwch8s@pc-saintpaul.irin.sciences.univ-nantes.prive>
"VOGLOZIN W. Amenel" <amenel.voglozin@univ-nantes.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: tgl@sss.pgh.pa.us, amenel.voglozin@univ-nantes.fr
Subject: Re: Buffered file creation and usage
In-Reply-To: <14805.1143475087@sss.pgh.pa.us>
References: <op.s62qcwstxwch8s@pc-saintpaul.irin.sciences.univ-nantes.prive> <14805.1143475087@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox