Current content of control file is insufficient to check if database is
compatible with postgres server. I think we should create footprint file which
will contains all page data structures and their member offset and length (and
maybe more).
As a first step which is useful at least for in-place-upgrade is footprint
switch which prints page layout structures. I attach WIP patch.
I'm thinking also to create pg_footprint view with (version, structure name,
attribute, offset, size) columns. But I'm not sure about usefulness of this
catalog (?maybe for regression tests?).
Comments, ideas?
Thanks Zdenek
--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql
Responses
pgsql-hackers by date
| Next: | From: Pavel Stehule | Date: 2008-08-11 07:39:01 |
| Subject: proposal: UTF8 to_ascii function |
| Previous: | From: David E. Wheeler | Date: 2008-08-11 03:58:40 |
| Subject: Re: Type Categories for User-Defined Types |