Move fsync routines of initdb into src/common/
Peter Eisentraut <peter_e@gmx.net>
Move fsync routines of initdb into src/common/ The intention is to used those in other utilities such as pg_basebackup and pg_receivexlog. From: Michael Paquier <michael.paquier@gmail.com>
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/initdb/initdb.c | modified | +11 −259 |
| src/bin/initdb/nls.mk | modified | +1 −1 |
| src/bin/pg_basebackup/nls.mk | modified | +1 −1 |
| src/common/file_utils.c | added | +276 −0 |
| src/common/Makefile | modified | +1 −1 |
| src/include/common/file_utils.h | added | +22 −0 |
| src/tools/msvc/Mkvcbuild.pm | modified | +1 −1 |