Skip site navigation (1) Skip section navigation (2)

Re: Not HOT enough

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Not HOT enough
Date: 2011-11-23 00:25:34
Message-ID: CA+U5nM+hvRJZ8Aw7hQXRp0LS2fMs5c-o9d4GwcqfKhhHYWMhAg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Nov 22, 2011 at 11:40 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:

>> I think this is unsafe for shared catalogs.
>
> I think so too. Thats why it uses IsMVCCSnapshot() to confirm when it
> is safe to do so.
>

Ah, you mean access to shared catalogs using MVCC snapshots.

Fixed.

-- 
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment: fix_getsnapshotdata.v2.patch
Description: application/octet-stream (2.0 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Peter GeogheganDate: 2011-11-23 01:09:23
Subject: Re: Inlining comparators as a performance optimisation
Previous:From: Tom LaneDate: 2011-11-23 00:07:07
Subject: Re: vpath builds and verbose error messages

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group