Re: BRIN range operator class
Emre Hasegeli <emre@hasegeli.com>
From: Emre Hasegeli <emre@hasegeli.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andreas Karlsson <andreas@proxel.se>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2015-05-06T09:49:33Z
Lists: pgsql-hackers
Attachments
- brin-inclusion-v08-02-strategy-numbers.patch (application/octet-stream) patch v8-0002
- brin-inclusion-v08-03-remove-assert-checking.patch (application/octet-stream) patch v8-0003
- brin-inclusion-v08-04-fix-brin-deform-tuple.patch (application/octet-stream) patch v8-0004
- brin-inclusion-v08-05-box-vs-point-operators.patch (application/octet-stream) patch v8-0005
- brin-inclusion-v08-06-inclusion-opclasses.patch (application/octet-stream) patch v8-0006
- brin-inclusion-v08-07-remove-minmax-amprocs.patch (application/octet-stream) patch v8-0007
> After looking at 05 again, I don't like the "same as %" business. > Creating a whole new class of exceptions is not my thing, particularly > not in a regression test whose sole purpose is to look for exceptional > (a.k.a. "wrong") cases. I would much rather define the opclasses for > those two datatypes using the existing @> operators rather than create > && operators for this purpose. We can add a note to the docs, "for > historical reasons the brin opclass for datatype box/point uses the <@ > operator instead of &&", or something like that. I worked around this by adding point <@ box operator as the overlap strategy and removed additional && operators. > AFAICS this is just some pretty small changes to patches 05 and 06. > Will you please resubmit? New series of patches are attached. Note that brin-inclusion-v08-04-fix-brin-deform-tuple.patch is the one from you.
Commits
-
Refactor per-page logic common to all redo routines to a new function.
- f8f4227976a2 9.5.0 cited
-
Reduce use of heavyweight locking inside hash AM.
- 76837c1507cb 9.3.0 cited
-
Scan the buffer pool just once, not once per fork, during relation drop.
- ece01aae4792 9.2.0 cited
-
Major patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
- 9e2a87b62db8 7.1.1 cited