pgsql: Handle posix_fallocate() errors.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Handle posix_fallocate() errors.
Дата
Msg-id E1UvZPP-000338-31@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Handle posix_fallocate() errors.

On some platforms, posix_fallocate() is available but may still return
EINVAL if the underlying filesystem does not support it.  So, in case
of an error, fall through to the alternate implementation that just
writes zeros.

Per buildfarm failure and analysis by Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5b571bb8c8d2bea610e01ae1ee7bc05adcfff528

Modified Files
--------------
src/backend/access/transam/xlog.c |   30 ++++++++++++------------------
1 file changed, 12 insertions(+), 18 deletions(-)


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: pgsql: Also escape double quotes for ECPG's #line statement.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: PL/Python: Make regression tests pass with older Python versions