Re: Dump from cygwin directly to windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mike(at)thegodshalls(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dump from cygwin directly to windows
Date: 2004-12-18 17:00:12
Message-ID: 2261.1103389212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mike G <mike(at)thegodshalls(dot)com> writes:
> It looks like it started off as a permissions problem. I added the
> users to the database before trying again and this time it worked fine.
> I have attached the log from the original attempt if you wish to have a
> look.

As best I can tell, you ran the restore script as a non-superuser, which
probably wasn't a good thing to do. 8.0 pg_dump generates scripts that
should cope with this situation a bit more reasonably, but it would
still end up as a do-over in most cases because none of the object
ownerships would come out right.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-12-18 17:13:54 Re: Permissions within a function
Previous Message ohp 2004-12-18 15:03:00 Re: Call for port reports