Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: changing th...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 15513 of 16953
Post > Topic >>

Re: changing the endianness of a database

by pgsql@[EMAIL PROTECTED] (Shane Ambler) May 13, 2008 at 09:06 AM

A.M. wrote:

> You know that you don't have to compile postgresql as "Universal", 
> right? If you have separate PPC and Intel versions (not lipo'd 
> together), then, presumably, you should be able to figure out which one 
> needs to run. The PPC postgresql would then run on the Macintel under 
> Rosetta and you would then have control to proceed with an automatic 
> dump/restore. However, this would not work for someone moving the 
> database from an Intel machine to a PPC machine.

That would be my suggestion - run a ppc version to dump then restore 
with an intel version. Maybe a startup script can detect when to do this.

Maybe this is an argument against making universal postgres binaries.

> Postgresql is simply not well-suited for such uncontrolled environments.

> What happens when you upgrade postgresql? Do you then ****p with 4 
> version of the db (Intel/PPC * 8.2/83)? Perhaps you should dump all the 
> non-transient data whenever the application is shut down (in 
> anticipation of an upgrade)?

As far as upgrades that could/should be handled in the installer script. 
Dump from the installed version then install the new one and restore.
That is - using Apple's installer setup.



-- 

Shane Ambler
pgSQL (at) Sheeky (dot) Biz

Get Sheeky @[EMAIL PROTECTED]
 http://Sheeky.Biz

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 6 Posts in Topic:
changing the endianness of a database
postgres@[EMAIL PROTECTED  2008-05-12 16:02:43 
Re: changing the endianness of a database
mmoncure@[EMAIL PROTECTED  2008-05-12 16:20:08 
Re: changing the endianness of a database
craig@[EMAIL PROTECTED]   2008-05-13 04:42:44 
Re: changing the endianness of a database
postgres@[EMAIL PROTECTED  2008-05-12 17:15:01 
Re: changing the endianness of a database
agentm@[EMAIL PROTECTED]   2008-05-12 17:59:06 
Re: changing the endianness of a database
pgsql@[EMAIL PROTECTED]   2008-05-13 09:06:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 9:56:39 CDT 2008.