Re: Closing some 8.4 open items
От | Heikki Linnakangas |
---|---|
Тема | Re: Closing some 8.4 open items |
Дата | |
Msg-id | 49DCE207.9070806@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Closing some 8.4 open items (Dave Page <dpage@pgadmin.org>) |
Ответы |
Re: Closing some 8.4 open items
Re: Closing some 8.4 open items |
Список | pgsql-hackers |
Dave Page wrote: > On Wednesday, April 8, 2009, Josh Berkus <josh@agliodbs.com> wrote: >> Presumably fadvise is useless on Windows. Anyone know? > > It is. cygwin supports POSIX_FADV_SEQUENTIAL (and POSIX_FADV_NORMAL to revert it), but not any of the other flags. It maps it to NtSetInformationFile() like this: > if (advice == POSIX_FADV_SEQUENTIAL) > fmi.Mode |= FILE_SEQUENTIAL_ONLY; > status = NtSetInformationFile (get_handle (), &io, &fmi, sizeof fmi, > FileModeInformation); -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: