Re: copying pg_user?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James Hall <James(dot)Hall(at)RadioShack(dot)com>
Cc: pgsql-novice(at)hub(dot)org
Subject: Re: copying pg_user?
Date: 2000-08-01 21:45:12
Message-ID: 28300.965166312@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

James Hall <James(dot)Hall(at)RadioShack(dot)com> writes:
> My question is what is the easiest/best/safest way to copy the pg_user file
> from db to another?

pg_user is a view. You can copy pg_shadow if you are so inclined.
See the pg_dumpall script, which does exactly that before dumping
the database(s) proper.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chau, Artemis 2000-08-01 21:46:51 count(distinct col)
Previous Message James Hall 2000-08-01 20:51:07 copying pg_user?