From: Bruce Momjian Date: Mon, 15 Dec 2008 21:39:25 +0000 (+0000) Subject: Add comment about GNUWin32's cp not having the file system problem. X-Git-Tag: recoveryinfrav9~201 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=c9b4f716bafd846063fc3e7182f69c6959326a33;p=users%2Fsimon%2Fpostgres.git Add comment about GNUWin32's cp not having the file system problem. --- diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index 82c850f41e..1d4e291d3f 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -183,7 +183,8 @@ CustomizableNextWALFileReady() * even though the file is still being copied and cannot be opened * by pg_standby yet. So we wait for sleeptime secs before * attempting to restore. If that is not enough, we will rely on - * the retry/holdoff mechanism. + * the retry/holdoff mechanism. GNUWin32's cp does not have + * this problem. */ pg_usleep(sleeptime * 1000000L); #endif