From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: rmgr hooks and contrib/rmgr_hook |
Date: | 2008-09-15 13:58:50 |
Message-ID: | 87y71tmrxh.fsf@oxford.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Simon Riggs <simon(at)2ndQuadrant(dot)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!
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2008-09-15 14:01:59 | Re: rmgr hooks and contrib/rmgr_hook |
Previous Message | Simon Riggs | 2008-09-15 13:52:50 | Re: Transaction Snapshots and Hot Standby |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2008-09-15 14:01:59 | Re: rmgr hooks and contrib/rmgr_hook |
Previous Message | Hiroshi Saito | 2008-09-15 13:34:13 | Solve a problem of LC_TIME of windows. |