Re: Extended Prefetching using Asynchronous IO - proposal and patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Claudio Freire <klaussfreire(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, John Lumby <johnlumby(at)hotmail(dot)com>, pgsql hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extended Prefetching using Asynchronous IO - proposal and patch
Date: 2014-05-29 21:19:35
Message-ID: 17548.1401398375@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Claudio Freire <klaussfreire(at)gmail(dot)com> writes:
> Didn't fix that, but the attached patch does fix regression tests when
> scanning over index types other than btree (was invoking elog when the
> index am didn't have ampeeknexttuple)

"ampeeknexttuple"? That's a bit scary. It would certainly be unsafe
for non-MVCC snapshots (read about vacuum vs indexscan interlocks in
nbtree/README).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Claudio Freire 2014-05-29 21:43:02 Re: Extended Prefetching using Asynchronous IO - proposal and patch
Previous Message Claudio Freire 2014-05-29 21:00:28 Re: Extended Prefetching using Asynchronous IO - proposal and patch

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Kupershmidt 2014-05-29 21:41:21 Re: Odd uuid-ossp behavior on smew and shearwater
Previous Message Tom Lane 2014-05-29 21:05:41 Re: CHECK_FOR_INTERRUPTS in spgdoinsert() isn't helpful