Fwd: how to create script of database in postgres..sql(winxp)

Поиск
Список
Период
Сортировка
От Tomi NA
Тема Fwd: how to create script of database in postgres..sql(winxp)
Дата
Msg-id d487eb8e0604030514q5e6a361dn948e3a2ce9ea7e39@mail.gmail.com
обсуждение исходный текст
Ответ на how to create script of database in postgres..sql(winxp)  ("deepak pal" <deepak.05pal@gmail.com>)
Список pgsql-general


---------- Forwarded message ----------
From: deepak pal <deepak.05pal@gmail.com>
Date: Apr 3, 2006 2:05 PM
Subject: Re: [GENERAL] how to create script of database in postgres..sql(winxp)
To: Tomi NA <hefest@gmail.com>

it do not recognize that \i and pg_dump i use \i pg_dump mydbname>newdb command



From the examples in man pg_dump:

       To dump a database:

       $ pg_dump mydb > db.out


       To reload this database:

       $ psql -d database -f db.out


       To dump a database called mydb to a tar file:

       $ pg_dump -Ft mydb > db.tar


       To reload this dump into an existing database called newdb:

       $ pg_restore -d newdb db.tar


Have you tried to dump the database this way? Does it work?

t.n.a.

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: how to create script of database in postgres..sql(winxp)
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Creating serial ID on Windows.