Re: pg_dump on Linux with pg_restore on Windows?

From: David Wall <d(dot)wall(at)computer(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump on Linux with pg_restore on Windows?
Date: 2009-11-03 22:14:08
Message-ID: 4AF0AB30.7040706@computer.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> I know this used to be a problem, but I don't have a Windows server to
> test it on again.
>
> Can I do a pg_dump on Linux and then pg_restore it on Windows? We're
> using PG 8.3 now, but could certainly upgrade if that made the
> difference.

Okay, maybe I answered my own question, though if anybody has experience
one way or another, I'd love to hear it. It looks like the pg_dump
option -Fp (or perhaps just no -F option at all) on Linux would write
the backup in script format, so it may allow it to be processed by psql
on the Windows.

If anybody has done this, let me know since I'd hate to have someone
order a new server only to find out we can't get it to work.

Thanks again,
David

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2009-11-03 22:16:43 Re: pg_dump on Linux with pg_restore on Windows?
Previous Message David Wall 2009-11-03 22:07:32 pg_dump on Linux with pg_restore on Windows?