Search Postgresql Archives

Re: Upgraded from Leopard to Snow Leopard - PostgreSQL won't start anymore

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

 



Matthias Dietrich wrote:
 How can I dump the data from the 32bit database?  Does someone has built a postgres binary for this issue?
  

You can build one yourself following the "Reverting to 32-bit Binaries" instructions at http://devoh.com/posts/2009/08/postgresql-snow-leopard (which follow up the build from source instructions at http://devoh.com/posts/2008/10/installing-postgresql-on-mac-os-x-10.5-leopard )

You probably don't want to overwrite the system PostgreSQL just yet though.  You can relocate where it compiles into with:

CFLAGS="-arch i386" ./configure --enable-thread-safety --with-bonjour --prefix=<install location>

Then run make/make install, point PGDATA toward your existing database, and start the server.

-- 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@xxxxxxxxxxxxxxx  www.2ndQuadrant.com

[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