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 3 of 6 Topic 15513 of 16941
Post > Topic >>

Re: changing the endianness of a database

by craig@[EMAIL PROTECTED] (Craig Ringer) May 13, 2008 at 04:42 AM

Merlin Moncure wrote:

> Surely it's easier just to have your application dump on schedule and
> add some front end GUI im****t feature to your app?  It looks like you
> are maybe trying to solve the wrong problem...namely that it is too
> difficult for your users to do backup/restore themselves.

Maybe it's an op****tunity to introduce the users to backups.

Honestly, though, PostgreSQL doesn't seem to be designed for application 
bundling and embedding, where the user never knows there's a database 
engine present. I'm under the impression that there's no consideration 
of what happens if you move from 32 to 64 bit hosts, big endian to 
little endian, etc; it's expected that you'll dump and reload.

The ability to build a custom standalone backend that could read (and 
only read) a "foreign" database structure would be pretty handy in this 
sort of situation and other cases of poorly planned disaster recovery or 
migration. Of course, it's much better to avoid such situations, but 
where end users are involved they're always going to arise.

It's a pity the system cloning/migration tools don't have hooks for 
applications to do pre-migration and post-migration tasks, so you could 
just dump then initdb and reload.

--
Craig Ringer

-- 
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 Sat Oct 11 12:52:49 CDT 2008.