Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Fix pg_receivexlog compile
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 29 Aug 2016 21:11:36 +0000 (18:11 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 29 Aug 2016 21:12:04 +0000 (18:12 -0300)
Fix compile problem in 9050e5c89dc08, which was botched because of
refactoring that had taken place in 38c83c9b75693.

Per buildfarm

src/bin/pg_basebackup/receivelog.c

index ba7acfba01689bc912841d7612058276bcef7790..f8bd551ef959042fa80a5394d8d201111e7f4fd0 100644 (file)
@@ -534,7 +534,7 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline,
    }
    else
    {
-       if (stream->synchronous)
+       if (synchronous)
            reportFlushPosition = true;
        else
            reportFlushPosition = false;