diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-07-10 08:39:27 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-07-10 08:39:27 +0900 |
commit | 9a4059d4ff1100e10d2aaadb136a04a407351249 (patch) | |
tree | aacb5cbee2e50ac6841c88417074bedc1cb8b61b /contrib/jsonb_plperl/jsonb_plperl.c | |
parent | 0905fe8911ea06df17a3ba3f086e98ca5c7b560c (diff) | |
download | postgresql-9a4059d4ff1100e10d2aaadb136a04a407351249.tar.gz |
Simplify logic to sync target directory at the end of pg_rewind
The previous sync logic relied on looking for and then launching
externally initdb -S, which is a simple wrapper on top of fsync_pgdata.
There is nothing preventing pg_rewind to directly call this routine, so
remove the dependency to initdb and just call it directly.
Author: Michael Paquier
Reviewed-by: Heikki Linnakangas
Discussion: https://postgr.es/m/20180325122607.GB3707@paquier.xyz
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions