Re: Buffered file creation and usage

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Buffered file creation and usage
Дата
Msg-id 14805.1143475087@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Buffered file creation and usage  ("VOGLOZIN W. Amenel" <amenel.voglozin@univ-nantes.fr>)
Список pgsql-ports
"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

В списке pgsql-ports по дате отправления:

Предыдущее
От: "VOGLOZIN W. Amenel"
Дата:
Сообщение: Buffered file creation and usage
Следующее
От: Philipp Ott
Дата:
Сообщение: pg-library universal binary for mac osx?