Re: Easiest way to copy table from one db to another?

Поиск
Список
Период
Сортировка
От Kynn Jones
Тема Re: Easiest way to copy table from one db to another?
Дата
Msg-id c2350ba40806200546t4f4d90dey1eeff1fe89fa1395@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Easiest way to copy table from one db to another?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
On Wed, Jun 18, 2008 at 4:08 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
On Wed, Jun 18, 2008 at 1:48 PM, Kynn Jones <kynnjo@gmail.com> wrote:
>
>
> What's the simplest way to copy a table from one database to another one
> running on the same server?

Easiest way to me:

pg_dump -t tablename dbname | psql otherdbname

Thanks!

Kynn

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