Re: Win32 Powerfail testing

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Win32 Powerfail testing
Дата
Msg-id 20030307.220442.41628419.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: Win32 Powerfail testing  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
> > I presume that this implementation tracks which files have been opened
> > and uses _commit() to write all the changes to disk for those files?
> 
> But are there quarantees that all closed files are flushed to disk as
> well ?
> 
> Does postgres quarantee it by doing a _commit() before close() or do
> file system semantics quarantee that filehits the disk whan close()'d (I
> guess it does not not).

Of course no. So I remember all file names to be flushed in a table
(placed on thread global memory) and later open/_commit/close them at
the checkpoint time.
--
Tatsuo Ishii


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

Предыдущее
От: Mike Aubury
Дата:
Сообщение: Re: SQL parser error
Следующее
От: "Adam Harnett"
Дата:
Сообщение: ...