How to load a dump file into a DB

Поиск
Список
Период
Сортировка
От David Vargas
Тема How to load a dump file into a DB
Дата
Msg-id AANLkTimnP=t1KiiGn4fOtKsSEmX6_SCMQrvF9_vggR2r@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to load a dump file into a DB  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: How to load a dump file into a DB  (Arvind Sharma <arvind321@yahoo.com>)
Список pgsql-novice
Hi,

I need to load a pgdump.sql file into a new Postgres db, but I'm totally not being able to do it. I am no programmer, I have installed the latest Postgres version for Windows, run the server, open psql. According to the pg_dump documentation, I should just run the command "$ psql -d newdb -f db.sql" into psql, but when I do it, nothing seems to be happening, I just get a new "postgres=#" line right away. I did change the db and file names to my names.

Can anybody give me any hint on how this should be done?? I've been searching all around without success. Is pg_dump already installed with the main installation? I even searched for a different way to convert this file into a PG database, but could not find a tool to specifically do that.

Thanks a lot, any help will be greatly appreciated!

Best regards,
David V.

В списке pgsql-novice по дате отправления:

Предыдущее
От: Michael Wood
Дата:
Сообщение: Re: Select only active entries
Следующее
От: John DeSoi
Дата:
Сообщение: Re: Which CMS/ecommerce/shopping cart works with Postgres ?