Create stub functions to support pg_upgrade of old contrib/tsearch2.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Mar 2016 22:37:54 +0000 (17:37 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Mar 2016 22:37:54 +0000 (17:37 -0500)
commiteb43e851d6b3fa0c4516efcfdf29a183f7717a43
tree3a7d6117eb4288df11985a2608754ff4c4e858e1
parentcc6077d4d540d821548b704dc6e2f349da736f62
Create stub functions to support pg_upgrade of old contrib/tsearch2.

Commits 9ff60273e35cad6e and dbe2328959e12701 adjusted the declarations
of some core functions referenced by contrib/tsearch2's install script,
forgetting that in a pg_upgrade situation, we'll be trying to restore
operator class definitions that reference the old signatures.  We've
hit this problem before; solve it in the same way as before, namely by
installing stub functions that have the expected signature and just
invoke the correct function.  Per report from Jeff Janes.

(Someday we ought to stop supporting contrib/tsearch2, but I'm not
sure today is that day.)
src/backend/utils/adt/tsginidx.c
src/backend/utils/adt/tsgistidx.c
src/backend/utils/adt/tsquery_gist.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/tsearch/ts_utils.h