Re: [SQL] pg_dumpall + psql -e template1

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Sebestyen Zoltan <szoli(at)netvisor(dot)hu>
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] pg_dumpall + psql -e template1
Date: 1999-09-28 12:55:06
Message-ID: 199909281255.IAA14601@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 1999-09-28 13:51:48 Re: [SQL] table aliasing problem with 6.5...
Previous Message ciprut ethan 1999-09-28 09:29:26