Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9eSd-0007OB-Mj for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Jan 2015 18:39:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y9eSd-0008De-2F for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Jan 2015 18:39:03 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y9eSb-0008DV-Tl for pgsql-bugs@postgresql.org; Fri, 09 Jan 2015 18:39:02 +0000 Received: from nm20-vm3.bullet.mail.ne1.yahoo.com ([98.138.91.150]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Y9eSW-0005xo-Q4 for pgsql-bugs@postgresql.org; Fri, 09 Jan 2015 18:39:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1420828735; bh=JPQUnTvAPHZMVevzq5KkqgSxxAM6PBTgHB8TQ21aaQs=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=ADFSh9iST5bIgip9uPUz14MrNikkwM9fKxTGc7qg8AqUwTWTK2Cq+J4dYS+E93a5H0PPTV71FYO7oHD5VVARw3G0EmbKv71YN0tMc2sPCdEwxnOKqc5tLUIYfPtOGxROHFDWALAzv+3HuYFY95vQFUH7cQ4GS0a6m0dqBopjjGRrviiF9SXfi+oJ+Dg9dyjMkQEbEuyyWst08E+LksF3fe7vVsTmuDhRRGzwUwXvKPW1CELRzizsa5Pk3BA2Bymj4DUnKAY7mBi+EAI064XMXDNMsmufXYLFzKQIyBlBv02K/QjE3WeE8WqtlPMHcJXhNz2RqoYzeAJRQVbr3cv0lw== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=ymail.com; b=Y90KE9LS1POszVx9Uf3smZsBJyZQhiCNusI8I7zyow13xxcTIfcGu+ohf30W2OTaIMRaoQZsDCoRk4c/oj8iRXxPcSFDmdSwHVjHNJ548g6Fdylxs7RX4WnXTzloAXKpHIZb3qIzycQ4M8TM5w65M7MN21MDzy1EtzzvWcc9pabbxk88UyHnhlMHjRiMS4Oeu5LeNqSTEb2V/MePWpbuTEbWGHfMB+w140pQNNlXyPWeKpe3YnJIBF2hnePKrBaAbkFcjNCwsWekjKqfnBabTR61S4N8z2/8frxCQQYyNlZBs05raFh8BkEkwC3kCfR1LBKb1I37MSXWuBv7Pwq9NA==; Received: from [98.138.226.178] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2015 18:38:55 -0000 Received: from [98.138.89.253] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 09 Jan 2015 18:38:55 -0000 Received: from [127.0.0.1] by omp1045.mail.ne1.yahoo.com with NNFMP; 09 Jan 2015 18:38:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 663079.13881.bm@omp1045.mail.ne1.yahoo.com X-YMail-OSG: BvrbkH8VM1kHYXr.QYAv6k6QXop.ulAoNwRVYLIfFPJH4wtqkUEXl_PoFQk19FR zfNBDPrepq5DwgV9PQq04.5kbZMXeCB6ByLL_0yeph.JzC_axJE5jVTtyEzGm6JHGcmZop6seS5n OSvY5jVEiwNwYOBiZpdyMtv35BIUxfPwI6alTj4VYynTUtLcYZTUeNnJVGAzZAwBY_k1YJrkAHip NAgJLtPdICA4mvHICNEGPhwVUIvY.Zz5iZP1VjFAFHQm35mWCEfpvkz6oFc9gcDPVwSNxMNh49nw tUmi4Tn5100yKmbZBDxgc.msP2futq6O2u1Nq.s4u6d1P6S5uJ_8RZxhmt0G2Hd_IPMozSmL6BhD 1fry1Q.Ng9xjX52afS_FqltEpbz99VN7V_IaI9hsQ3dByoDL9SV8E4jpUfErA7j47DE4pKuB_9Fd r0dbAEw_bqVHGOzljxwzEvCTi8OnmVYdBliNuieDRDl1UhZpbPYnkAN88cUOU09CXYJZewqktTb2 q9Baw8eQZKUkdliqcuIYDVweADykb529cUk.atMWAd0BbTXS0UupzYA-- Received: by 98.138.105.242; Fri, 09 Jan 2015 18:38:55 +0000 Date: Fri, 9 Jan 2015 18:38:36 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: "Karl O. Pinc" Cc: "pgsql-bugs@postgresql.org" Message-ID: <850420152.4245057.1420828716461.JavaMail.yahoo@jws100171.mail.ne1.yahoo.com> In-Reply-To: <20150109123146.600a392c@slate.meme.com> References: <20150109123146.600a392c@slate.meme.com> Subject: Re: BUG #12469: pg_locks shows locks held by pids not found i n pg_stat_activity or ps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 741 X-Pg-Spam-Score: -2.0 (--) 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 Karl O. Pinc wrote: > Kevin Grittner wrote: >> The short explanation is that SIReadLocks on a serializable >> transaction may need to be kept until overlapping transactions >> terminate. > > The transactions/locks are in separate databases. I would think > that in most cases that a > transaction in one database cannot have any effect on a > transaction in another database. > > It would be nice if pg were clever enough to isolate transactions > within databases. Good point. That would complicate the logic a bit, but it might be worth it. I'll make a note to look at that as a potential enhancement. Thanks! -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs