Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 151A2475965 for ; Tue, 2 Jul 2002 10:14:21 -0400 (EDT) Mailbox-Line: From tgl@sss.pgh.pa.us Tue Jul 2 10:14:21 2002 Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id CE64C475FF2 for ; Tue, 2 Jul 2002 09:43:29 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g62Dh5212554; Tue, 2 Jul 2002 09:43:05 -0400 (EDT) To: Preston de Guise Cc: Postgres Admin Mailing List Subject: Re: pg_dumpall -> database import -> user problem. In-reply-to: <1025609263.30666.28.camel@belle> References: <1025609263.30666.28.camel@belle> Comments: In-reply-to Preston de Guise message dated "02 Jul 2002 21:27:43 +1000" Date: Tue, 02 Jul 2002 09:43:05 -0400 Message-ID: <12551.1025617385@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-5.3 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT version=2.30 X-Spam-Level: X-Archive-Number: 200207/25 X-Sequence-Number: 4712 Preston de Guise writes: > The procedure that I'm trying is: > pg_dump production > production.dump > dropdb development > createdb development > psql development -f production.dump This looks okay to me. I assume you are running the psql session as the database superuser? Does it produce any messages (other than CREATE, GRANT, etc)? Have you tried looking at the dump file to see what it's actually doing? (If the full dump is too bulky to paw through, try pg_dump -s to dump just schema commands with no data.) regards, tom lane