aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/createas.c
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2013-07-06 13:46:04 -0700
committerJeff Davis <jdavis@postgresql.org>2013-07-06 13:46:04 -0700
commit5b571bb8c8d2bea610e01ae1ee7bc05adcfff528 (patch)
tree209f4e18ef9130345e256c8ed777b6a53a6698d3 /src/backend/commands/createas.c
parent43c3aab123560b326bab894c44b667e2bdddc0e4 (diff)
downloadpostgresql-5b571bb8c8d2bea610e01ae1ee7bc05adcfff528.tar.gz
postgresql-5b571bb8c8d2bea610e01ae1ee7bc05adcfff528.zip
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.
Diffstat (limited to 'src/backend/commands/createas.c')
0 files changed, 0 insertions, 0 deletions