Skip site navigation (1) Skip section navigation (2)

Re: how to load database from extern files?

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: caoyu(at)comp(dot)nus(dot)edu(dot)sg
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: how to load database from extern files?
Date: 2006-01-24 06:56:18
Message-ID: 43D5CF92.2020508@wildenhain.de (view raw or flat)
Thread:
Lists: pgadmin-support
caoyu schrieb:
> Use the pgAdmin III interface, I am using postgresql 8.1.2 on Windows.
> 
> Thanks all

Well the easiest part would be to follow the documentation on
postgresql.org using the command line pg_restore (for binary dumps)
and psql if you have schema and/or data SQL.

Recent pgadmin3 might have an interface for restoring, but the menu
and accompanying documentation should tell you.

The keyword to look for is restore, not "load".

If all you want is to import tabular data, you might also have
a look at SQL COPY which works from server backend or thru
supporting tools.

HTH
Tino Wildenhain

In response to

pgadmin-support by date

Next:From: Francisco LeoveyDate: 2006-01-24 15:02:10
Subject: UPDATE on Pgadmin III not honoring DATESTYLE
Previous:From: caoyuDate: 2006-01-24 05:15:01
Subject: how to load database from extern files?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group