Search Postgresql Archives

Migration from 8.0 to 7.4...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We've got a problem with postgres 8.0 (our own code is not ready yet for the new driver) but a production database is already on postgres 8.0 (too bad, we didn't tested it enough...).

So we need to migrate back to postgres 7.4 and wait for a code upgrade. Is there a possible way to do this ?

pg_dump output of 8.0 is not compatible with 7.4. But the output of "pg_dump -a" seems to be compatible. One solution would be to create tables with a 7.4 sql script. Then use pg_dump to get the data from the 8.0 database and fill them in the 7.4 database. And finally restore all functions and triggers from a 7.4 sql script.

Before testing this way, I would like your advise to know if our solution has a chance to work, if there is a better way or anything...

Thanks for any help
--
Romain Vinot

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux