| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Move fsync routines of initdb into src/common/ |
| Date: | 2016-09-29 15:32:22 |
| Message-ID: | E1bpdJu-0008W6-JP@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)paquier(at)gmail(dot)com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/bf5bb2e85b6492c7245b9446efaf43d52a98db13
Modified Files
--------------
src/bin/initdb/initdb.c | 270 ++-------------------------------------
src/bin/initdb/nls.mk | 2 +-
src/bin/pg_basebackup/nls.mk | 2 +-
src/common/Makefile | 2 +-
src/common/file_utils.c | 276 ++++++++++++++++++++++++++++++++++++++++
src/include/common/file_utils.h | 22 ++++
src/tools/msvc/Mkvcbuild.pm | 2 +-
7 files changed, 313 insertions(+), 263 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-09-29 17:32:44 | pgsql: Allow contrib/file_fdw to read from a program, like COPY FROM PR |
| Previous Message | Heikki Linnakangas | 2016-09-29 10:17:27 | pgsql: Don't bother to lock bufmgr partitions in pg_buffercache. |