Remove no-op GiST support functions in the core GiST opclasses.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Sep 2017 03:32:45 +0000 (23:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 20 Sep 2017 03:32:59 +0000 (23:32 -0400)
commit2d484f9b058035d41204f2eb8a0a8d2e8ee57b44
treec742293df1ceab9025545dbac205a9a86428ac66
parentd3a4f89d8a3e500bd7c0b7a8a8a5ce1b47859128
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
src/backend/access/gist/gistproc.c
src/backend/utils/adt/network_gist.c
src/backend/utils/adt/rangetypes_gist.c
src/backend/utils/adt/tsgistidx.c
src/backend/utils/adt/tsquery_gist.c
src/include/catalog/catversion.h
src/include/catalog/pg_amproc.h
src/include/catalog/pg_proc.h
src/test/regress/expected/create_am.out
src/test/regress/sql/create_am.sql