[GENERAL] Portability of pgsql database files.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[GENERAL] Portability of pgsql database files.

David M. Lee
I have a system that is dual bootable for both i686 and x86_64.  Would
there be any issues using the PostgreSQL database files generated for
i686 on x86_64, or vice versa?

Thanks!
dave
<><

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
Reply | Threaded
Open this post in threaded view
|

Re: [GENERAL] Portability of pgsql database files.

Bruce Momjian-2
David M. Lee wrote:
> I have a system that is dual bootable for both i686 and x86_64.  Would
> there be any issues using the PostgreSQL database files generated for
> i686 on x86_64, or vice versa?

Uh, if the padding is the same, it would work, but we never test such
things.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  [hidden email]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq
Reply | Threaded
Open this post in threaded view
|

Re: [GENERAL] Portability of pgsql database files.

Tom Lane-2
In reply to this post by David M. Lee
"David M. Lee" <[hidden email]> writes:
> I have a system that is dual bootable for both i686 and x86_64.  Would
> there be any issues using the PostgreSQL database files generated for
> i686 on x86_64, or vice versa?

You'd probably have problems with the different data alignment rules for
the two architectures (I'm supposing MAXALIGN is different, though
perhaps it is not?).

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend