pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump / pg_restore with Large Objects from 32-bit to 64-bit
2+ messages / 2 participants
[nested] [flat]

* pg_dump / pg_restore with Large Objects from 32-bit to 64-bit
@ 2010-03-10 16:29 Matt Janssen <matt@luggagepros.com>
  2010-03-15 19:58 ` Re: pg_dump / pg_restore with Large Objects from 32-bit to 64-bit Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Matt Janssen @ 2010-03-10 16:29 UTC (permalink / raw)
  To: pgsql-admin

When migrating our Postgres databases from 32 to 64-bit systems, including
large binary objects, how well will this work?

 

32-bit server) pg_dump --format=c --blobs --file=backup.pg mydb

 

64-bit server) pg_restore -d mydb backup.pg

 

I'm hoping that PG's compressed custom archive format is not architecture
dependant. Thanks!

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump / pg_restore with Large Objects from 32-bit to 64-bit
  2010-03-10 16:29 pg_dump / pg_restore with Large Objects from 32-bit to 64-bit Matt Janssen <matt@luggagepros.com>
@ 2010-03-15 19:58 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2010-03-15 19:58 UTC (permalink / raw)
  To: Matt Janssen <matt@luggagepros.com>; +Cc: pgsql-admin

"Matt Janssen" <matt@luggagepros.com> writes:
> When migrating our Postgres databases from 32 to 64-bit systems, including
> large binary objects, how well will this work?

> 32-bit server) pg_dump --format=c --blobs --file=backup.pg mydb
> 64-bit server) pg_restore -d mydb backup.pg

Should be fine; but remember that only gets you the contents of the one
database.  You may also want pg_dumpall --globals-only to transfer
role properties and such.

> I'm hoping that PG's compressed custom archive format is not architecture
> dependant. Thanks!

It is not.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-03-15 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-03-10 16:29 pg_dump / pg_restore with Large Objects from 32-bit to 64-bit Matt Janssen <matt@luggagepros.com>
2010-03-15 19:58 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox