Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgcBN-0003S8-FC for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Nov 2013 15:16:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VgcBM-0006FG-Vs for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Nov 2013 15:16:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgcBM-0006F8-19 for pgsql-hackers@postgreSQL.org; Wed, 13 Nov 2013 15:16:40 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VgcBF-0005SR-F2 for pgsql-hackers@postgreSQL.org; Wed, 13 Nov 2013 15:16:39 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1VgcBE-0002FC-Q3; Wed, 13 Nov 2013 10:16:32 -0500 Date: Wed, 13 Nov 2013 10:16:32 -0500 From: Bruce Momjian To: David Johnston Cc: PostgreSQL-development Subject: Idea for debug/recovery snapshots Message-ID: <20131113151632.GD24549@momjian.us> References: <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> <20131112151427.GH15562@momjian.us> <1384299361317-5778016.post@n5.nabble.com> <20131113012949.GA24549@momjian.us> <1384306523691-5778033.post@n5.nabble.com> <20131113013935.GB24549@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131113013935.GB24549@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Nov 12, 2013 at 08:39:35PM -0500, Bruce Momjian wrote: > > My specific wording is incoherent mostly because it really belongs to a > > larger corpus that currently exists only in my head. > > Oh, OK, it sounds fine. The user really doesn't choose what timeline to > see --- rather, it is the current xid at the time they take their > snapshot and other running xids that controls that. You can control > your transaction isolation level, but that only controls how often you > take snapshots. [ moved to hackers ] Actually, it would be possible to allow snapshots that are equal to the earliest active snapshot for the current database. I don't think it would be useful in production, but perhaps for debugging or some disaster recovery. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers