pgsql: Adjust initdb to also not consider fsync'ing failures fatal.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Adjust initdb to also not consider fsync'ing failures fatal.
Дата
Msg-id E1YyNis-0002Ta-Vk@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Adjust initdb to also not consider fsync'ing failures fatal.

Make initdb's version of this logic look as much like the backend's
as possible.  This is much less critical than in the backend since not
so many people use "initdb -S", but we want the same corner-case error
handling in both cases.

Back-patch to 9.3 where initdb -S option was introduced.  Before that,
initdb only had to deal with freshly-created data directories, wherein
no failures should be expected.

Abhijit Menon-Sen

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/52fc948444dde2d10f261e66766e6842231a9d46

Modified Files
--------------
src/bin/initdb/initdb.c |  306 ++++++++++++++++++++++++-----------------------
1 file changed, 155 insertions(+), 151 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Revert exporting of internal GUC variable "data_directory".
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.