Re: Dragging and dropping tables between databases

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Dragging and dropping tables between databases
Дата
Msg-id 20100603170918.GM30784@a-kretschmer.de
обсуждение исходный текст
Ответ на Dragging and dropping tables between databases  (John Gage <jsmgage@numericable.fr>)
Список pgsql-novice
In response to John Gage :
> Okay, maybe not that simple, but is there a way to transfer a table
> easily between two databases?
>
> The easiest way I can think of is to back-up the table in an sql file
> and then run the sql file in the other database.  Is that the easiest?

Yeah, or:

pg_dump | psql

with proper parameters.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

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

Предыдущее
От: John Gage
Дата:
Сообщение: Dragging and dropping tables between databases
Следующее
От: Sean Davis
Дата:
Сообщение: Re: Dragging and dropping tables between databases