Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZM4ff-0003uW-Sm for pgsql-docs@arkaria.postgresql.org; Mon, 03 Aug 2015 01:36:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZM4fe-0007sZ-Tk for pgsql-docs@arkaria.postgresql.org; Mon, 03 Aug 2015 01:36:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZM4fd-0007sC-UW for pgsql-docs@postgresql.org; Mon, 03 Aug 2015 01:36:06 +0000 Received: from nm3-vm4.bullet.mail.gq1.yahoo.com ([98.136.218.147]) by magus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZM4fZ-00040F-MZ for pgsql-docs@postgresql.org; Mon, 03 Aug 2015 01:36:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1438565754; bh=/iEUvds4VOOh9zH2HxZ5QwYY2+g1VzDwbwniAfMmkxI=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=mQu9y7BSGulzQa116hr3d+uiElYz3Qk7uTNfTiMpvuHHnegnJUBbeouQzpp5yb7ppZq3+xT0A9/V9uhrMeQhVpUZ8W76lEIV+q80PPWCVdtPPBAJSjNipDgveHUs1xq2wfrPebfb0FciInaxFzGoWa0chlPEE7/YzwpqjuUEBz+uPD2PVoMvVn2HSyl81Wl6aLU8CmforK4Z7WrxpmXOYEgmPOQQ6/sIFAnVqYLHlsdkxU2FIUG4ZWNbmTaa+3AR14KYyQxAZ5sCGLDf38J8tEI77SNQIz9giJdEmM8W1kLcgoiNa6N+W1RrQPNaw3+U+bT06pOhiELAgtYdn0shSQ== Received: from [98.137.12.191] by nm3.bullet.mail.gq1.yahoo.com with NNFMP; 03 Aug 2015 01:35:54 -0000 Received: from [98.137.12.222] by tm12.bullet.mail.gq1.yahoo.com with NNFMP; 03 Aug 2015 01:35:54 -0000 Received: from [127.0.0.1] by omp1030.mail.gq1.yahoo.com with NNFMP; 03 Aug 2015 01:35:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 268104.76359.bm@omp1030.mail.gq1.yahoo.com X-YMail-OSG: 1aq7hq4VM1l5NKbSqk3ABZ5WRjuJYdI6HTTuEXfUFuKXff5VgCcanLGf9FA9fhv 6BEGf_anb5O6QwdVhV_il8DV.WJv40yRw40kItEwtU7wm97_ERj_tVivjfpTpr5zxhrlxcu2N._l 4TGHhXpWGS4ipC8JDAtQflsoYD_jDL8nogNSuk7yXpO3AXXVtWGD4xn3EtgjNFq.z2JyTXaAAcyF UTB8XPKTMr.Sh3Cw0AHw_afab3r1z_jxFGi54CV5bCpJbA9pKuxJf3xAOmTYfjiIphC7d9BIR93S APCqYZro7Uaw.jZQvY2MSI2zaWmH46mWEwGiN_1vs313xT86lgEDJpCTcGH7VmFyV5ssdKhmKzEe AueXu8b7qmehh91StNQjDXCY4j8pucVTOxc_AtPBvzuYbmW6jAbUHmj5IH1NUMYaCA3Eu2eI5uZc WnJzdSQ6unTUvbW1t.EN7lmHAP3TVip5umTKjwWBJ_eQlyvHTktjRGD3DWlah_1WX Received: by 216.39.60.199; Mon, 03 Aug 2015 01:35:53 +0000 Date: Mon, 3 Aug 2015 01:35:50 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: Dmitry Igrishin , pgsql-docs Message-ID: <127576699.373753.1438565750177.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Confused by example in 13.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1663 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Dmitry Igrishin wrote: > I'm confused a bit by example in 13.2.2: In current docs that is the "Repeatable Read Isolation Level" section. > "For example, even a read only transaction at this level may see a > control record updated to show that a batch has been completed but > not see one of the detail records which is logically part of the batch > because it read an earlier revision of the control record." > > Could anyone clarify this example? And what is "control record"? Yeah, that sentence doesn't really have enough context. There was discussion around this example in the Wiki: https://wiki.postgresql.org/wiki/SSI#Deposit_Report ... and with that fresh in everyone's memory it seemed to make sense at the time. Would this change make it clear to you?: "For example, you might have a workload involving batches, with a control table having a record to describe the state of each batch and another table with the detail; a read only transaction at this isolation level could see a control record updated to show that a batch has been completed but not see one of the detail records which is logically part of the batch because the transaction inserting the detail read an earlier version of the control record." Hopefully the example from the Wiki makes it clear. There has been some discussion about whether to link to the Wiki or bring an example like that into the documentation; but we usually don't link to Wiki pages and the example is somewhat long to include in-line in the documentation. Any thoughts on the best solution to that? -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs