Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjpOk-0003f0-LM for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Oct 2015 14:08:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZjpOj-0001Z9-P8 for pgsql-bugs@arkaria.postgresql.org; Wed, 07 Oct 2015 14:08:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZjpOi-0001Yf-TO for pgsql-bugs@postgresql.org; Wed, 07 Oct 2015 14:08:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZjpOc-0001tr-2A for pgsql-bugs@postgresql.org; Wed, 07 Oct 2015 14:08:47 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t97E8eXi023856; Wed, 7 Oct 2015 10:08:40 -0400 From: Tom Lane To: Kevin Grittner cc: Chris Pacejo , "pgsql-bugs@postgresql.org" Subject: Re: BUG #13660: serializable snapshotting hangs In-reply-to: <1788034186.151912.1444226070374.JavaMail.yahoo@mail.yahoo.com> References: <22977.1444225029@sss.pgh.pa.us> <1788034186.151912.1444226070374.JavaMail.yahoo@mail.yahoo.com> Comments: In-reply-to Kevin Grittner message dated "Wed, 07 Oct 2015 13:54:30 -0000" Date: Wed, 07 Oct 2015 10:08:40 -0400 Message-ID: <23855.1444226920@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Kevin Grittner writes: > The Serializable Snapshot Isolation techniques only work on top of > MVCC snapshot isolation. At the time of the SSI patch, catalogs > were not accessed according to those rules, so we excluded them > from SSI handling -- it just could not have worked in a meaningful > way. (So catalog access is currently identical under REPEATABLE > READ and SERIALIZABLE transaction isolation levels.) Really? "SELECT * FROM pg_database" will ignore SSI? I agree that the system's own catalog accesses don't pay attention to SSI, and probably can't because of concerns about needing to see fully up-to-date data. But that's not my question. My point is that userland snapshots can be used to examine shared catalogs, and even update them if you're a superuser. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs