Re: rmgr hooks and contrib/rmgr_hook
| От | Gregory Stark |
|---|---|
| Тема | Re: rmgr hooks and contrib/rmgr_hook |
| Дата | |
| Msg-id | 87y71tmrxh.fsf@oxford.xeocode.com обсуждение исходный текст |
| Ответ на | Re: rmgr hooks and contrib/rmgr_hook (Simon Riggs <simon@2ndQuadrant.com>) |
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes: > The version mismatch idea presumes that a code author would structure > their code in two pieces: one to generate the WAL and one to read it. > Seems much more likely to me that authors would have one module > containing both as a way of avoiding the problem altogether. So I'm not > sure what to check, and against what? No, the danger is that someone generates a backup with one version of the plugin and then restores with a different version of the plugin. That would be frightfully easy to do when doing a minor upgrade, for example. Or on a standby database if you've installed a new version of the plugin since the standby was built. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's PostGIS support!
В списке pgsql-hackers по дате отправления: