pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <kgrittn@ymail.com>
Cc: Chris Pacejo <cpacejo@clearskydata.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13660: serializable snapshotting hangs
Date: Wed, 07 Oct 2015 10:08:40 -0400
Message-ID: <23855.1444226920@sss.pgh.pa.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Kevin Grittner <kgrittn@ymail.com> 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



view thread (9+ messages)  latest in thread

Message-ID: <23855.1444226920@sss.pgh.pa.us>
Permalink:  ../23855.1444226920@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23855.1444226920@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kgrittn@ymail.com, cpacejo@clearskydata.com
  Subject: Re: BUG #13660: serializable snapshotting hangs
  In-Reply-To: <23855.1444226920@sss.pgh.pa.us>
  References: <22977.1444225029@sss.pgh.pa.us> <1788034186.151912.1444226070374.JavaMail.yahoo@mail.yahoo.com> <23855.1444226920@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox