Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TRMr0-00078B-Vf for pgsql-performance@postgresql.org; Thu, 25 Oct 2012 12:48:07 +0000 Received: from smtp2.peak6.com ([38.98.137.9]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TRMqv-0002R7-7O for pgsql-performance@postgresql.org; Thu, 25 Oct 2012 12:48:05 +0000 X-AuditID: 0a02cb20-b7f726d000005255-f5-508934ff3e82 Received: from sswchi5pcas2.peak6.net (sswchi5pcas2.peak6.net [10.100.13.24]) by smtp2.peak6.com (Symantec Messaging Gateway) with SMTP id 11.0D.21077.FF439805; Thu, 25 Oct 2012 07:48:00 -0500 (CDT) Received: from [10.10.201.64] (10.10.201.64) by sswchi5pcas2.peak6.net (10.100.13.25) with Microsoft SMTP Server (TLS) id 14.2.247.3; Thu, 25 Oct 2012 07:47:59 -0500 Message-ID: <508934FE.4020504@optionshouse.com> Date: Thu, 25 Oct 2012 07:47:58 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Kevin Grittner CC: Karl Denninger , Claudio Freire , delongboy , Subject: Re: How to upgrade from 9.1 to 9.2 with replication? References: <20121025121003.306930@gmx.com> In-Reply-To: <20121025121003.306930@gmx.com> Content-Type: text/plain; charset="UTF-8"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.201.64] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDKsWRmVeSWpSXmKPExsXClcIroctg2hlgMPsrs8W9H1fYLF4eu8Ns 8eRXE6vF9ZnnmC1uXVjD6sDqsf7gNyaPnbPusnvMeHKa1ePCvmnsHtOW72IOYI1qYLRJzMvL L0ksSVVISS1OtlXyLyjJzM8r9sgvLU5VcMksTs5JzMxNLVJSyEyxVTJWUijISUxOzU3NK7FV SiwoSM1LUbLjUsAANkBlmXkKqXnJ+SmZeem2Sp7B/roWFqaWuoZKdvHIIKGTJWP5ihOMBc3s FY3LprA1MF5k7WLk4JAQMJGY8COii5ETyBSTuHBvPVsXIxeHkMAJRol/k7ewQDgrGSUmHDnH ClLFK6AvMflwA1gzi4CqxNrN/CBhNgFdiUn9K9hAbCEBFYm+szeYQGx+AWGJfR+amEFsUYEw ieU7NzNBjBGUODnzCQuILQI0Zs+/O4wgu5gF5jBKfG2fC7ZLWMBd4lj/T1aIodoSHadAruPg 4BTQkdjxPRYkzCxgIbH4zUF2CFteYvvbOcwQ5aoSK5onskE8piDx/8o7pgmMIrOQrJ6FpH0W kvYFjMyrGMWLyxKTMzLNCopzSwqM9ApSE7PN9PJSSzYxgpIE02mFHYybe6wOMQpwMCrx8F4I 6wgQYk0sK67MPcQowcGsJMK7/T1QiDclsbIqtSg/vqg0J7X4EKMPMMgmMkuJJucDE1heSbyh samBqaWpoam5qaERDmElcd5Lt9sChATSgaknOzW1ILUIZhwTB6dUA+Pu4y9mb/Tv/iyeyVea 9L6ydh7HTqBXjf3fX7smEXrTodTnWOEKNxlR37L9RnyhlmX9TzKmfd8tsqkmwrHS6pP//qe/ Ls0KSFu90us6Z8bXtXJLlqgfd/YPz6//bt3/49jjxF/Ll4kaLr9hmS2htv77ksAnGu+5HeMy 3m0+c3/RpYDgPFbXg0osxRmJhlrMRcWJAFnoZ/o/AwAA X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201210/303 X-Sequence-Number: 48262 On 10/25/2012 07:10 AM, Kevin Grittner wrote: > ... as long as the rsync was bracketed by calls to pg_start_backup() > and pg_stop_backup(). Or they took it during a filesystem snapshot, or shut the database down. I thought that the only thing start/stop backup did was mark the beginning and end transaction logs for the duration of the backup so they could be backed up separately for a minimal replay. An rsync doesn't need that, because it's binary compatible. You get two exact copies of the database, provided data wasn't changing. That's easy enough to accomplish, really. Or is there some embedded magic in streaming replication that requires start/stop backup? I've never had problems starting slaves built from an rsync before. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604 312-444-8534 sthomas@optionshouse.com ______________________________________________ See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email