Re: Copying data

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Copying data
Дата
Msg-id 20020211134938.GC3472@wolff.to
обсуждение исходный текст
Ответ на Copying data  (Madelon Brennan <brennanm@georgetown.edu>)
Список pgsql-admin
On Mon, Feb 11, 2002 at 01:15:26PM +0000,
  Madelon Brennan <brennanm@georgetown.edu> wrote:
> What is the syntax for copying data from one database to another. I
> would like to take the data from my most current database and copy all
> of the data to my test environment.
> Thanks.

One way to do this is with pg_dump. Something like:
pg_dump database_name > dumpfile
psql test_name < dumpfile

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

Предыдущее
От: "anjo.doce.marilia"
Дата:
Сообщение: Permissions on FUNCTIONS
Следующее
От: "Marco Tulio"
Дата:
Сообщение: History Keys fault