WhiteRider wrote:keggler wrote:if you've still got the old db's, then use the native postgres pg_dumpall and psql commands to back them off & restore in their entirity
Wouldn't this just recreate the database in the old format?
The point of the message telling you that it's an old database is that the structure of the database has now changed so you need to use one created in the correct structure.
dave,
As a general rule, the internal data storage format is subject to change between major releases of PostgreSQL (where the number after the first dot changes). This does not apply to different minor releases under the same major release (where the number after the second dot changes); these always have compatible storage formats. For example, releases 8.1.1, 8.2.3, and 8.3 are not compatible, whereas 8.2.3 and 8.2.4 are. When you update between compatible versions, you can simply replace the executables and reuse the data directory on disk. Otherwise you need to back up your data and restore it on the new server. This has to be done using pg_dump; file system level backup methods obviously won't work. There are checks in place that prevent you from using a data directory with an incompatible version of PostgreSQL, so no great harm can be done by trying to start the wrong server version on a data directory.
It is recommended that you use the pg_dump and pg_dumpall programs from the newer version of PostgreSQL, to take advantage of any enhancements that might have been made in these programs. Current releases of the dump programs can read data from any server version back to 7.0.
i believe the OP had databases from previous betas - they would've all been created in postgres 8.n.n? so the postgres native commands should work...
susan