pgsql: Fix contrib/pg_trgm to have smoother updates from 9.0.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix contrib/pg_trgm to have smoother updates from 9.0.
Дата
Msg-id E1PqA5q-0007tI-Uu@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix contrib/pg_trgm to have smoother updates from 9.0.

Take care of some loose ends in the update-from-unpackaged script, and
apply some ugly hacks to ensure that it produces the same catalog state
as the fresh-install script.  Per discussion, this seems like a safer
plan than having two different catalog states that both call themselves
"pg_trgm 1.0", even if it's not immediately clear that the subtle
differences would ever matter.

Also, fix the stub function gin_extract_trgm() so that it works instead
of just bleating.  Needed because this function will get called during a
regular dump and reload, if there are any indexes using its opclass.
The user won't have an opportunity to update the extension till later,
so telling him to do so is unhelpful.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4eb49db7ae634fab9af7437b2e7b6388dfd83bd3

Modified Files
--------------
contrib/pg_trgm/pg_trgm--1.0.sql             |   23 +++++++--
contrib/pg_trgm/pg_trgm--unpackaged--1.0.sql |   65 ++++++++++++++++++++++++--
contrib/pg_trgm/trgm_gin.c                   |   10 ++--
3 files changed, 83 insertions(+), 15 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Remove doc mention about read committed in upsert example.
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Typo fix