pgsql: Optimize SP-GiST insertions. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Optimize SP-GiST insertions.
Date
Msg-id E1T6bff-0000MC-Qd@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Optimize SP-GiST insertions.

This includes two micro-optimizations to the tight inner loop in descending
the SP-GiST tree: 1. avoid an extra function call to index_getprocinfo when
calling user-defined choose function, and 2. avoid a useless palloc+pfree
when node labels are not used.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c82dedb7a8a953785f24a3b10de376760d60c24c

Modified Files
--------------
src/backend/access/spgist/spgdoinsert.c |   10 +++++++-
src/backend/access/spgist/spgutils.c    |   33 +++++++++++++++++-------------
2 files changed, 27 insertions(+), 16 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix assorted compilation failures in contrib
Next
From: Bruce Momjian
Date:
Subject: pgsql: Report postmaster.pid file as empty if it is empty, rather than