pgsql: Fix handling of extension membership when filling in a shell ope

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix handling of extension membership when filling in a shell ope
Дата
Msg-id E1QvVvD-0000ST-1D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix handling of extension membership when filling in a shell operator.

The previous coding would result in deleting and not re-creating the
extension membership pg_depend rows, since there was no
CommandCounterIncrement that would allow recordDependencyOnCurrentExtension
to see that the deletion had happened.  Make it work like the shell type
case, ie, keep the existing entries (and then throw an error if they're for
the wrong extension).

Per bug #6172 from Hitoshi Harada.  Investigation and fix by Dimitri
Fontaine.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9c471d24126280a5f90ee9d276a9df37480dfcde

Modified Files
--------------
src/backend/catalog/pg_operator.c |    7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix handling of extension membership when filling in a shell ope
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Typo fix.