Re: Copy Users?

From: James Hall <James(dot)Hall(at)RadioShack(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Copy Users?
Date: 2002-09-18 14:55:21
Message-ID: DD6FD0C9668DD311AA040008C7566E8A0E636AA4@ntmailc.tandy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am not able to use pg_dumpall, the system has crashed and I only have read
access to the harddrives. I was hoping there would be a couple of files I
could copy over to the new database and get the users back<?>.

Thanks,
-jim

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, September 17, 2002 5:29 PM
To: James Hall
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Copy Users?

James Hall <James(dot)Hall(at)RadioShack(dot)com> writes:
> Is there anyway to transfer the pg_user/pg_shadow data from one to
database
> to another without a dumpall?

pg_dumpall has a switch to just dump the user/group info, and not the
databases. Seems like that will do what you want.

regards, tom lane

Browse pgsql-general by date

  From Date Subject
Next Message Wim 2002-09-18 15:00:33 Re: [GENERAL] Still big problems with pg_dump!
Previous Message Tom Lane 2002-09-18 14:47:27 Re: [GENERAL] Still big problems with pg_dump!