From: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
---|---|
To: | Premila Devi <premiladevi(dot)dayalan(at)agbnielsen(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org, pgsql-admin-owner(at)postgresql(dot)org |
Subject: | Re: Database Import..Please Help Me |
Date: | 2009-06-16 15:47:24 |
Message-ID: | 4A37BE8C.8030802@pinpointresearch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Premila Devi wrote:
>
>
>
> Good Day. I like to "Import Database" Using the
> postgresql-8.3.7-1-windows.
>
>
>
> But, at here I did not see any "IMPORT DATABASE FEATURES"...
>
>
The file you attached is empty. We need more info. As a starting point,
PostgreSQL dumps are created using pg_dump. The dump file can be a text
file designed to be read back using psql or in special formats designed
to be read by pg_restore. The text version is just a series of SQL
statements to restore the database. The various flags to pg_dump
determine the type of file created as well as things like schema-only,
data-only, specific tables, etc.
If the data is not a PostgreSQL created dump, you need to do some work
yourself. For example, if it is a CSV file you need a table with the
correct columns and you can use psql and the copy command with the csv
option.
Cheers,
Steve
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Shellam | 2009-06-16 16:46:01 | Re: Yum upgrade of PostgreSQL 8.4 from to rc1 rendered data unusable |
Previous Message | Alvaro Herrera | 2009-06-16 15:34:44 | Re: Yum upgrade of PostgreSQL 8.4 from to rc1 rendered data unusable |