restoring dbschema - Mailing list pgsql-sql

From Richard Sydney-Smith
Subject restoring dbschema
Date
Msg-id 004c01c37eb8$1328d070$101b32d2@athlon2000
Whole thread Raw
List pgsql-sql
I have a database created with pg 7.3.1
In pgAdminII I have saved the DBSchema
 
After creating a  new database in pgAdmin I opened a SQL box and loaded the dbschema.sql file and tried to run  it.
 
A number of errors occured. The first was that the public namespace was already defined this was followed by:pgSQL language not defined properly, and a number of view already defined and other errors.
 
I worked through the batch file and eventually re-created all objects but am puzzled as to why it is not a clean operation.
 
Is their another way I should be running this file?
 
Thanks.
Richard
 
 

pgsql-sql by date:

Previous
From: Tomasz Myrta
Date:
Subject: Re: Problem with timestamp - Pls help
Next
From: "Alexander M. Pravking"
Date:
Subject: Re: Backup of multiple tables