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!