.dmp files in postgresql

From: Alpha Beta <dzjitaru(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: .dmp files in postgresql
Date: 2011-11-25 20:04:38
Message-ID: CAMheTCTyL=mts14wwqeMS5WX7TK83-FxjuZCO+Z3Fex3qKwqOg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi list,

I have got two files (template1.dmp, example1.dmp) and I want to open them
in postgresql, I tried the following commands:

- Import *template1 *:
* createdb -U postgres template1
* psql -U postgres template1 < template1.dmp

- Create the sample of the database:
* createdb -U postgres example1
* psql -U postgres example1 < example1.dmp

I've got no error reported by postgres but nothing happened either.
How should I proceed exactly? Sorry I'm a newbie with PostgreSQL :)

Regards!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2011-11-25 20:08:37 Re: .dmp files in postgresql
Previous Message Scott Mead 2011-11-25 20:00:50 Re: Recommended Protocol: Adding Rows to Table