문제

I have a self hosted database using postgis1.5 / postgres9.1. I would like to import that data into a heroku postgres db with postgis2.0 installed.

How can I convert the db? or otherwise do this? Without upgrading my existing postgres/postgis setup?

도움이 되었습니까?

해결책

I've never used Heroku, so I'm just suggesting a procedure. You will need to temporarily self-host an installation of PostgreSQL 9.1/PostGIS 2.0 to properly convert the database and PostGIS data. Follow the steps in the manual for a Hard upgrade. I would do this on a virtual machine that is similar to the OS used by Heroku. After it has been converted, then try to bring it into Heroku.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top