Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vg4eK-0003eq-IA for pgsql-docs@arkaria.postgresql.org; Tue, 12 Nov 2013 03:28:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vg4eJ-0005nc-B6 for pgsql-docs@arkaria.postgresql.org; Tue, 12 Nov 2013 03:28:19 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vg4eI-0005mH-AJ for pgsql-docs@postgresql.org; Tue, 12 Nov 2013 03:28:18 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vg4eF-0002qO-M7 for pgsql-docs@postgresql.org; Tue, 12 Nov 2013 03:28:17 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Vg4eF-0006oQ-Hz for pgsql-docs@postgresql.org; Mon, 11 Nov 2013 19:28:15 -0800 Date: Mon, 11 Nov 2013 19:28:15 -0800 (PST) From: David Johnston To: pgsql-docs@postgresql.org Message-ID: <1384226895502-5777854.post@n5.nabble.com> In-Reply-To: <1384226759124-5777852.post@n5.nabble.com> References: <20131111175737.GA15562@momjian.us> <13024.1384202385@sss.pgh.pa.us> <20131111205833.GC15562@momjian.us> <20331.1384221575@sss.pgh.pa.us> <20131112021954.GD15562@momjian.us> <21328.1384223235@sss.pgh.pa.us> <20131112024609.GG15562@momjian.us> <1384226759124-5777852.post@n5.nabble.com> Subject: Re: MVCC snapshot timing MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 3.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 David Johnston wrote > This reads badly to my ears: >> This means that while querying a database each SQL statement sees a >> snapshot of data (a database version) as it was some time ago, regardless >> of the current state of the underlying data. > How about something closer to: >> This means for each SQL statement the user can specify a relative >> point-in-time snapshot (database version) of the database against which >> to query. These snapshot options are 1) the most recent committed data >> currently available database-wide - including implicit commits (see >> note), or 2) the committed data as-of the beginning of the current >> transaction - including any changes made in the same. >> >> Note: an implicit commit occurs only within a multi-statement >> transaction. For the purpose of determining if data has been committed >> any prior statements in the same transaction are deemed to have been >> committed when viewed by later statements. > I know this is an introduction paragraph so the broad concept is being > focused on rather than how such a user would in fact make this choice. > > I don't know that the term "implicit commit" is used elsewhere, likely > not, but in effect that is what a statement in a transaction is seeing > with respect to prior statements in the same transaction. Naming this > behavior in the introduction would allow for someone less verbose > descriptions to be used in detail sections. > > The above could be better integrated into the intro but I wanted to get > opinions on the approach first. > > David J. So with the comment about implicit commits the phrase "including any changes made in the same." can be dropped since that is what I was trying to imply before I devised the new term. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/MVCC-snapshot-timing-tp5777759p5777854.html Sent from the PostgreSQL - docs mailing list archive at Nabble.com. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs