Teodor Sigaev <teodor(at)sigaev(dot)ru> writes:
> Changes since 28.2
> - fixes/changes pointed by Robert
> - gingetbitmap will never throw error about lossiness of bitmap, it will return
> lossy bitmap even it was a prefix search.
> - remove tbm_check_tuple/tbm_has_lossy/tbm_max_non_lossy methods because they
> become unused
> - add new method tbm_add_page(TIDBitmap*, BlockNumber) to add the whole page to
> the TIDBitmap.
I cleaned up and applied the planner part of this, since that seems
reasonably useful in its own right for experimental index AMs,
regardless of where we settle out for GIN. (The "cleanup" mostly
consisted of fixing it to not make extra calls to find_usable_indexes
--- that's an expensive function, and there's no very good reason to
run it another time rather than separating out the indexes afterwards.)
Attached is the remainder of the patch with relatively minor fixes.
The main change I made is to get rid of the changes in gincostestimate;
I agree with Robert that it's probably inappropriate to consider the
current pending-list size during planning. I haven't really reviewed
any of the rest of it; this is just to have a clean patch against HEAD.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Josh Berkus||Date: 2009-03-06 01:08:02|
|Subject: Can we drop ABSTIME?|
|Previous:||From: Bernd Helmle||Date: 2009-03-05 23:32:40|
|Subject: Re: Validating problem in the isn contrib module|