postgresql/src
Andres Freund 26a4e0ed71 Fix initdb --sync-only to also sync tablespaces.
630cd14426 added initdb --sync-only, for use by pg_upgrade, by just
exposing the existing fsync code. That's wrong, because initdb so far
had absolutely no reason to deal with tablespaces.

Fix --sync-only by additionally explicitly syncing each of the
tablespaces.

Backpatch to 9.3 where --sync-only was introduced.

Abhijit Menon-Sen and Andres Freund
2014-11-15 01:21:11 +01:00
..
backend Sync unlogged relations to disk after they have been reset. 2014-11-15 01:21:07 +01:00
bin Fix initdb --sync-only to also sync tablespaces. 2014-11-15 01:21:11 +01:00
common Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
include Backport "Expose fsync_fname as a public API". 2014-11-15 01:20:29 +01:00
interfaces Reset error message at PQreset() 2014-10-29 14:40:47 +02:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:13:32 -05:00
pl Make plpython_unicode regression test work in more database encodings. 2014-06-03 12:02:13 -04:00
port Fix win32setlocale.c const-related warnings. 2014-11-02 21:44:28 -05:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Ensure that whole-row Vars produce nonempty column names. 2014-11-10 15:21:20 -05:00
timezone Support timezone abbreviations that sometimes change. 2014-10-16 15:22:17 -04:00
tools MSVC: Substitute $(top_builddir) in REGRESS_OPTS. 2014-07-23 00:35:53 -04:00
tutorial Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Revert "Backpatch pgxs vpath build and installation fixes." 2013-10-07 22:32:04 -04:00
Makefile.shlib fix whitespace 2014-02-01 16:30:22 -05:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00