]> granicus.if.org Git - postgresql/commit
Rewrite PageIndexDeleteNoCompact into a form that only deletes 1 tuple.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Sep 2016 23:00:59 +0000 (19:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Sep 2016 23:00:59 +0000 (19:00 -0400)
commit24992c6db9fd40f342db1f22747ec9e56483796d
treef2cc7c08f7e7363182b059629dab609ac4598f00
parent1a4be103a523db8d47b464463ba175cc664442b2
Rewrite PageIndexDeleteNoCompact into a form that only deletes 1 tuple.

The full generality of deleting an arbitrary number of tuples is no longer
needed, so let's save some code and cycles by replacing the original coding
with an implementation based on PageIndexTupleDelete.

We can always get back the old code from git if we need it again for new
callers (though I don't care for its willingness to mess with line pointers
it wasn't told to mess with).

Discussion: <552.1473445163@sss.pgh.pa.us>
src/backend/access/brin/brin_pageops.c
src/backend/access/brin/brin_xlog.c
src/backend/storage/page/bufpage.c
src/include/storage/bufpage.h