Re: How to copy tables between databases?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: How to copy tables between databases?
Дата
Msg-id 47C47A0A.9010700@archonet.com
обсуждение исходный текст
Ответ на How to copy tables between databases?  ("Kynn Jones" <kynnjo@gmail.com>)
Список pgsql-general
Kynn Jones wrote:
> Is there a simple way to copy a table from one database to another without
> generating an intermediate dump file?

Something along the lines of:
pg_dump ... -d db1 --table=mytable | psql -d db2

--
   Richard Huxton
   Archonet Ltd

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