pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Preston de Guise <unsane@idl.com.au>
Cc: Postgres Admin Mailing List <pgsql-admin@postgresql.org>
Subject: Re: pg_dumpall -> database import -> user problem.
Date: Tue, 02 Jul 2002 09:43:05 -0400
Message-ID: <12551.1025617385@sss.pgh.pa.us> (raw)
In-Reply-To: <1025609263.30666.28.camel@belle>
References: <1025609263.30666.28.camel@belle>

Preston de Guise <unsane@idl.com.au> 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





view thread (4+ messages)  latest in thread

Message-ID: <12551.1025617385@sss.pgh.pa.us>
Permalink:  ../12551.1025617385@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12551.1025617385@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, unsane@idl.com.au
  Subject: Re: pg_dumpall -> database import -> user problem.
  In-Reply-To: <12551.1025617385@sss.pgh.pa.us>
  References: <1025609263.30666.28.camel@belle> <12551.1025617385@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox