From: Adam Radlowski <adamr@informatyka.gdansk.pl>
To: Antonios Katsikadamos <antonioskatsikadamos@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres import
Date: Tue, 31 Oct 2006 11:49:50 +0100
Message-ID: <45472A4E.8050206@informatyka.gdansk.pl> (raw)
In-Reply-To: <20061031083050.5241.qmail@web58105.mail.re3.yahoo.com>
References: <20061031083050.5241.qmail@web58105.mail.re3.yahoo.com>
Achilleas informed You very good. But if Your SQL file comes from other
DBMS, like MySQL, You have to a little bit to edit this file, becouse
sometimes in those files are used "slangs" characteristical for specific
DBMS.
If You have SQL file genarated with "pg_dump", You have to be sure, that
all needed roles (users, groups) are defined in Your destination
database, when in SQL file You have GRANT or REVOKE.
Greetings
Adam
Antonios Katsikadamos wrote:
> Hi all,
>
>
> sorry again for the trouble. I have a small problem in postgres, I
> have a .sql file ( db dump ) and i want to import it in postgres on
> linux.
>
>
> does anyone know how to do it?
>
> Thnx a lot for your time
>
> Get your email and more, right on the new Yahoo.com
> <http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: adamr@informatyka.gdansk.pl, antonioskatsikadamos@yahoo.com
Subject: Re: postgres import
In-Reply-To: <45472A4E.8050206@informatyka.gdansk.pl>
References: <20061031083050.5241.qmail@web58105.mail.re3.yahoo.com> <45472A4E.8050206@informatyka.gdansk.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox