Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A26C76341B0 for ; Wed, 23 Jun 2010 16:14:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 02411-05 for ; Wed, 23 Jun 2010 19:14:42 +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 7FE93632A99 for ; Wed, 23 Jun 2010 16:14:42 -0300 (ADT) Received: by iwn1 with SMTP id 1so46901iwn.19 for ; Wed, 23 Jun 2010 12:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=a1Vq5HuzPn47E7jewdfE9CQ4facf3giQBQWG4bOy4LQ=; b=OPrkgJPUgievdoiB+JTn5f8MRp5uxOwDsU2BYlkTiXAlEZLcrHO98uQHA9R81YV6H/ sN9RZ3j1SN9hzoUx1hayXa+hX2yXH5kwfWjv426JyHMqgLGR3xSYOy6OSvJm67G1yNzQ vuhot6rTQf+syAMtcSlU+gFAAY6C/Ffz1/PHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XqugZVIpz9uv70Zw/7tAjK6C1FuIxAZegK87RQMN84EcPjzkm5RtsQA4A7zk125QTe B6IYkAEH8aiRaLvNQ9pkELxvgb+WvadWGZNSNg/67af7O6vd92/6M7ty4oadUA18aWAE 6OTSqcg8c9TeC2A4JWvsZAAzhEBzdPwx63oJI= MIME-Version: 1.0 Received: by 10.231.124.229 with SMTP id v37mr9133697ibr.184.1277320481297; Wed, 23 Jun 2010 12:14:41 -0700 (PDT) Received: by 10.231.34.139 with HTTP; Wed, 23 Jun 2010 12:14:41 -0700 (PDT) In-Reply-To: References: <4c20b2ed.0134e70a.19ef.5b22@mx.google.com> <1277319234.25074.2466.camel@ebony> Date: Wed, 23 Jun 2010 15:14:41 -0400 Message-ID: Subject: Re: hot standby documentation From: Robert Haas To: Simon Riggs Cc: Joshua Tolley , pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201006/63 X-Sequence-Number: 5631 On Wed, Jun 23, 2010 at 3:05 PM, Robert Haas wrote: >> We could also allow SELECT ... FOR SHARE during Hot Standby, simply by >> making it same as normal SELECT, without any ill effects. > > True. Actually, wait a minute. Why wouldn't we need to lock the tuples on the standby just as we do on the primary? Sure, there can't be another user transaction modifying those tuples, but WAL replay could still modify them. Anyhow, I think that's beside the point. The documentation just says what Hot Standby does, not what it might do in a future release. And I don't think this patch changes that very much at all. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company