Re: [SQL] pg_dumpall + psql -e template1 - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] pg_dumpall + psql -e template1
Date
Msg-id 199909281255.IAA14601@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] pg_dumpall + psql -e template1  (Sebestyen Zoltan <szoli@netvisor.hu>)
List pgsql-sql
[Charset iso-8859-2 unsupported, filtering to ASCII...]
> A question: does pg_dumpall save all the information of the database - I
> think of grant rights, etc - or shall I restore them manually?

Saves them by running pg_dump.  In 6.5.*, no -z is needed.  In earlier
releases, you needed add -z option to save grants.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: "ciprut ethan"
Date:
Subject:
Next
From: Tom Lane
Date:
Subject: Re: [SQL] table aliasing problem with 6.5...