pgsql: Make CREATE DATABASE safe against losing whole files by fsyncing

Поиск
Список
Период
Сортировка
От stark@postgresql.org (Greg Stark)
Тема pgsql: Make CREATE DATABASE safe against losing whole files by fsyncing
Дата
Msg-id 20100214175047.66EE97541C5@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files.

Back-patch to 8.1 -- before that we just called "cp -r" and never
fsynced anything anyways.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/port:
        copydir.c (r1.23 -> r1.23.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c?r1=1.23&r2=1.23.2.1)

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

Предыдущее
От: stark@postgresql.org (Greg Stark)
Дата:
Сообщение: pgsql: Make CREATE DATABASE safe against losing whole files by fsyncing
Следующее
От: stark@postgresql.org (Greg Stark)
Дата:
Сообщение: pgsql: Make CREATE DATABASE safe against losing whole files by fsyncing