Re: postgres import

From: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
To: "Antonios Katsikadamos *EXTERN*" <antonioskatsikadamos(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: postgres import
Date: 2006-10-31 08:32:51
Message-ID: 52EF20B2E3209443BC37736D00C3C1380B31A578@EXADV1.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I have a little problem. I have an .sql file ( db dump )
> and i want to import it to postgres on linux.
>
> Does anyone know how i can do it?

You feed it to the command line interface psql.

Example:
psql -h host -p port -d database -U user <dump.sql

Yours,
Laurenz Albe

Responses

Browse pgsql-general by date

  From Date Subject
Next Message SunWuKung 2006-10-31 09:15:32 Catch multiple records when doing Select Into
Previous Message Antonios Katsikadamos 2006-10-31 08:27:02 postgres import