Re: Extended Prefetching using Asynchronous IO - proposal and patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Extended Prefetching using Asynchronous IO - proposal and patch
Date
Msg-id 17548.1401398375@sss.pgh.pa.us
Whole thread Raw
In response to Re: Extended Prefetching using Asynchronous IO - proposal and patch  (Claudio Freire <klaussfreire@gmail.com>)
Responses Re: Extended Prefetching using Asynchronous IO - proposal and patch
List pgsql-hackers
Claudio Freire <klaussfreire@gmail.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



pgsql-hackers by date:

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