"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> Perhaps an easy means would be to put a PG_VERSION file in each
> tablespace when it's created and then check all of them. Tablespaces
> arguably make it slightly easier to accidentally try and mount something
> from a different version...
I believe we already do put a PG_VERSION file in each tablespace, but
AFAIR there is no subsequent check on their contents.
regards, tom lane