"standby clone": process -w/--wal-keep-segment

This commit is contained in:
Ian Barwick
2017-05-05 21:03:16 +09:00
parent aaa9af2371
commit 5e48a19ebe
3 changed files with 16 additions and 3 deletions

View File

@@ -216,6 +216,10 @@ do_standby_clone(void)
* the upstream is not available, so no point in checking for it.
*
* XXX not sure of the logic here (and yes I did think this up)
* - we'll need the source connection in any case, just won't connect
* to the "upstream_conninfo" server. We'd probably need to
* to override "no_upstream_connection" if connection params
* actually provided.
*/
if (*runtime_options.upstream_conninfo)