Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Buffered file creation and usage



"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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group