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

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Easiest way to copy table from one db to another?
Дата
Msg-id dcc563d10806181308jffcc11esa2dedfa59ea51e11@mail.gmail.com
обсуждение исходный текст
Ответ на Easiest way to copy table from one db to another?  ("Kynn Jones" <kynnjo@gmail.com>)
Ответы Re: Easiest way to copy table from one db to another?  ("Kynn Jones" <kynnjo@gmail.com>)
Список pgsql-general
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

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: RETURNING clause in 8.2
Следующее
От: "Dave Lee"
Дата:
Сообщение: Re: migrating from mysql: need to convert empty string to null