pgsql: Create stub functions to support pg_upgrade of old contrib/tsear

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Create stub functions to support pg_upgrade of old contrib/tsear
Дата
Msg-id E1abFP9-0002EP-B5@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.)

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/tsginidx.c     | 20 ++++++++++++++++++++
src/backend/utils/adt/tsgistidx.c    | 13 +++++++++++++
src/backend/utils/adt/tsquery_gist.c | 13 +++++++++++++
src/include/catalog/catversion.h     |  2 +-
src/include/catalog/pg_proc.h        |  9 +++++++++
src/include/tsearch/ts_utils.h       |  4 ++++
6 files changed, 60 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Prefix temp data dirs with the node name
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix json_to_record() bug with nested objects.