Re: Extension upgrade and GUCs
От | Simon Riggs |
---|---|
Тема | Re: Extension upgrade and GUCs |
Дата | |
Msg-id | CANP8+jL=vAgmeq_dQ3UOC90rtZu0M=KS_9tG4cVS+qWCVhf5mA@mail.gmail.com обсуждение исходный текст |
Ответ на | Extension upgrade and GUCs (Paul Ramsey <pramsey@cleverelephant.ca>) |
Ответы |
Re: Extension upgrade and GUCs
|
Список | pgsql-hackers |
On 18 August 2015 at 21:03, Paul Ramsey <pramsey@cleverelephant.ca> wrote:
--
So I need a way to either (a) notice when I already have a (old) copy
of the library loaded and avoid trying to setup the GUC in that case
or (b) set-up the GUC in a somewhat less brittle way than
DefineCustomStringVariable() allows, something that can overwrite
things instead of just erroring out.
Are you trying to preserve the in-memory state across upgrade as well? It sounds unlikely we can support that directly in the general case.
Sounds like we need RedefineCustomStringVariable()
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: