Easiest way to CREATE EXTENSION when upgrading from 9.0 to 9.2?

Поиск
Список
Период
Сортировка
От Joshua Boyd
Тема Easiest way to CREATE EXTENSION when upgrading from 9.0 to 9.2?
Дата
Msg-id E7DD98A49ADB154CA9DA5D71EBE751A23659977E@RAISTLIN.NXSYS.PDX
обсуждение исходный текст
Ответы Re: Easiest way to CREATE EXTENSION when upgrading from 9.0 to 9.2?  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-general

We have a pre-production environment that was running postgresql 9.0 and we created the extension “pgcrypto” in it by feeding psql the contrib/pgcrypto.sql ..  We just upgraded to 9.2 (via pg_upgrade) – naturally all the functions still exist, but pgcrypto is not a registered extension with the database, nor is it the most recent sql for the extension.  What would be the easiest way to both register and upgrade to the most recent version of pgcrypto in our new version? Or is running a rollback script to remove all of those and then running CREATE EXTENSION our only option?

 

Thanks,

Josh

 

 

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: tsvector stemmer issue
Следующее
От: Juan Daniel Santana Rodés
Дата:
Сообщение: Recursive function