pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove no-op GiST support functions in the core GiST opclasses.
Date: Wed, 20 Sep 2017 03:33:24 +0000
Message-ID: <E1duVlM-0001ec-TR@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Remove no-op GiST support functions in the core GiST opclasses.

The preceding patch allowed us to remove useless GiST support functions.
This patch actually does that for all the no-op cases in the core GiST
code.  This buys us whatever performance gain is to be had, and more
importantly exercises the preceding patch.

There remain no-op functions in the contrib GiST opclasses, but those
will take more work to remove.

Discussion: https://postgr.es/m/CAJEAwVELVx9gYscpE=Be6iJxvdW5unZ_LkcAaVNSeOwvdwtD=A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2d484f9b058035d41204f2eb8a0a8d2e8ee57b44

Modified Files
--------------
src/backend/access/gist/gistproc.c      | 32 ++------------------------------
src/backend/utils/adt/network_gist.c    | 12 ++----------
src/backend/utils/adt/rangetypes_gist.c | 29 +++++------------------------
src/backend/utils/adt/tsgistidx.c       |  4 ++++
src/backend/utils/adt/tsquery_gist.c    |  9 ++++-----
src/include/catalog/catversion.h        |  2 +-
src/include/catalog/pg_amproc.h         | 11 -----------
src/include/catalog/pg_proc.h           | 16 ----------------
src/test/regress/expected/create_am.out |  6 ++----
src/test/regress/sql/create_am.sql      |  6 ++----
10 files changed, 22 insertions(+), 105 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1duVlM-0001ec-TR@gemulon.postgresql.org>
Permalink:  ../E1duVlM-0001ec-TR@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1duVlM-0001ec-TR@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove no-op GiST support functions in the core GiST opclasses.
  In-Reply-To: <E1duVlM-0001ec-TR@gemulon.postgresql.org>
  References: <E1duVlM-0001ec-TR@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox