Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2CBDA633072 for ; Tue, 22 Jun 2010 20:04:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 95675-10 for ; Tue, 22 Jun 2010 23:04:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com [209.85.214.174]) by mail.postgresql.org (Postfix) with ESMTP id D1952632FE6 for ; Tue, 22 Jun 2010 20:04:08 -0300 (ADT) Received: by iwn5 with SMTP id 5so43175iwn.19 for ; Tue, 22 Jun 2010 16:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:cc :subject:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=kA1+zshL/KpugLWvNLAwvlwzLz+/jicdZrLjDjFN8fw=; b=OB0tAV2Z/LALl5U2/orC85x7u9FeMsNQ0lbvpKS9lHorybr+/fLeJK98kwx64rAU+r sEhdWivOZk7RRMnMU5mBlmfRu3Bn8SqjMD9nJINnDZobsbVKTpBHSk754HiOp8eaCZMC /gpNcQ8JF4Qc0Ami3PAMkIGkfEl127elEMFQ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:subject:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=cQxw2h+bfJrO/i6DkQqcrR+XPnLE2ZEO35Sae4iA6nLLpCu5uiRNnxQpAgoCfO3sXS hjJpKNRpmQ8Ldb0hynvMe0z41bR37JjrNdHTftOUKDByeS3TuYZ+3GINO3CFUl5fus8A vJnk444alh9/vqslg42qsAMe+0tnMlRG2mbog= Received: by 10.231.144.147 with SMTP id z19mr7617357ibu.81.1277247847021; Tue, 22 Jun 2010 16:04:07 -0700 (PDT) Received: from eddie (c-67-186-205-129.hsd1.ut.comcast.net [67.186.205.129]) by mx.google.com with ESMTPS id f1sm9656910ibg.3.2010.06.22.16.04.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 22 Jun 2010 16:04:06 -0700 (PDT) Message-ID: <4c214166.0134e70a.3dcb.7f43@mx.google.com> Date: Tue, 22 Jun 2010 17:04:03 -0600 From: Joshua Tolley To: Robert Haas Cc: pgsql-docs Subject: Re: hot standby documentation References: <4c20b2ed.0134e70a.19ef.5b22@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bygAmIonOAIqBxQB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-5 required=5 tests=BAYES_40=-0.001 X-Spam-Level: X-Archive-Number: 201006/54 X-Sequence-Number: 5622 --bygAmIonOAIqBxQB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 22, 2010 at 02:24:55PM -0400, Robert Haas wrote: > On Tue, Jun 22, 2010 at 8:56 AM, Joshua Tolley wrote: > >> - =A0 =A0Queries executed on the standby will be correct with regard t= o the transactions > >> - =A0 =A0that had been recovered at the start of the query, or start o= f first statement > >> - =A0 =A0in the case of serializable transactions. In comparison with = the primary, > >> - =A0 =A0the standby returns query results that could have been obtain= ed on the primary > >> - =A0 =A0at some moment in the past. > >> + =A0 =A0Queries executed on the standby will see a view of the databa= se that > >> + =A0 =A0existed on the master at some moment in the past. > > > > Is it really that non-deterministic? /me admits not having followed that > > discussion. Although the original version is pretty complex, it gives t= he user > > some feel for the particular moment in the past that their snapshot will > > represent. If the original is incorrect, it would be nice to replace it= with > > something that doesn't suggest the user might end up with a snapshot fr= om last > > week. >=20 > I had another go at this. Much better, IMO. -- Joshua Tolley / eggyknap End Point Corporation http://www.endpoint.com --bygAmIonOAIqBxQB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkwhQWMACgkQRiRfCGf1UMP9gACeP5piT8Sf3EPzmc3OxEhJaWmI r48AoIe6hbs3jYYHtFOQRvjPDyQia6Sx =cIEL -----END PGP SIGNATURE----- --bygAmIonOAIqBxQB--