Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA03931 for ; Tue, 28 Sep 1999 09:01:47 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id IAA14601; Tue, 28 Sep 1999 08:55:06 -0400 (EDT) From: Bruce Momjian Message-Id: <199909281255.IAA14601@candle.pha.pa.us> Subject: Re: [SQL] pg_dumpall + psql -e template1 In-Reply-To: from Sebestyen Zoltan at "Sep 28, 1999 10:55:13 am" To: Sebestyen Zoltan Date: Tue, 28 Sep 1999 08:55:06 -0400 (EDT) CC: pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL56 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit [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, Pennsylvania 19026