Re: SSI bug?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: <drkp(at)csail(dot)mit(dot)edu>,<yamt(at)mwd(dot)biglobe(dot)ne(dot)jp>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SSI bug?
Date: 2011-02-24 17:18:44
Message-ID: 4D663E94020000250003AFB0@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> On 23.02.2011 07:20, Kevin Grittner wrote:
>> Dan Ports wrote:
>>
>>> The obvious solution to me is to just keep the lock on both the
>>> old and new page.
>>
>> That's the creative thinking I was failing to do. Keeping the
>> old lock will generate some false positives, but it will be rare
>> and those don't compromise correctness -- they just carry the
>> cost of starting the transaction over.
>
> Sounds reasonable, but let me throw in another idea while we're at
> it: if there's a lock on the index page we're about to delete, we
> could just choose to not delete it. The next vacuum will pick it
> up. Presumably it will happen rarely, so index bloat won't be an
> issue.

Yeah, that's probably better.

-Kevin

In response to

  • Re: SSI bug? at 2011-02-24 17:10:58 from Heikki Linnakangas

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-02-24 18:43:13 Re: wCTE: about the name of the feature
Previous Message Yeb Havinga 2011-02-24 17:14:13 Re: pg_basebackup and wal streaming