Re: How to import *.sql file to postgresql database

Поиск
Список
Период
Сортировка
От Osvaldo Kussama
Тема Re: How to import *.sql file to postgresql database
Дата
Msg-id AANLkTilThGQrmF-h5Td7myoFgrfZpexbvxrFgDbPPzBH@mail.gmail.com
обсуждение исходный текст
Ответ на How to import *.sql file to postgresql database  (Andre Lopes <lopes80andre@gmail.com>)
Список pgsql-general
2010/7/18 Andre Lopes <lopes80andre@gmail.com>:
> Hi,
>
> I have a DUMP file with INSERT's commands. I need to import this data to
> postgresql database with the "psql" command.
>
> How can I do this task?
>
> Best Regards,
>


From manual [1] 24.1.1. Restoring the dump:
psql dbname < infile

Osvaldo
[1] http://www.postgresql.org/docs/current/interactive/backup-dump.html#BACKUP-DUMP-RESTORE

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

Предыдущее
От: Szymon Guz
Дата:
Сообщение: Re: How to import *.sql file to postgresql database
Следующее
От: John Gage
Дата:
Сообщение: Differences between Postgres and MySql