pgsql: Use the sortsupport infrastructure in more cases.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use the sortsupport infrastructure in more cases.
Date: 2014-11-07 20:51:30
Message-ID: E1XmqVG-0002i2-IY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use the sortsupport infrastructure in more cases.

This removes some fmgr overhead from cases such as btree index builds.

Peter Geoghegan, reviewed by Andreas Karlsson and me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5ea86e6e65dd2da3e9a3464484985d48328e7fe3

Modified Files
--------------
src/backend/access/nbtree/nbtsort.c | 63 ++++----
src/backend/utils/sort/sortsupport.c | 79 +++++++---
src/backend/utils/sort/tuplesort.c | 275 ++++++++++++++--------------------
src/include/utils/sortsupport.h | 3 +
4 files changed, 206 insertions(+), 214 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-11-07 21:09:52 pgsql: Fix building with WAL_DEBUG.
Previous Message Robert Haas 2014-11-07 20:42:38 pgsql: Update pg_xlogdump's .gitignore for brindesc.c.