Re: How can I merge two tables?

Поиск
Список
Период
Сортировка
От Diego Augusto Molina
Тема Re: How can I merge two tables?
Дата
Msg-id CAGOxLdHJJPgxJFYg6AaAhi=rRRSG-tjL8fEJx5tRjm-r20vT3g@mail.gmail.com
обсуждение исходный текст
Ответ на How can I merge two tables?  (Jerry LeVan <jerry.levan@gmail.com>)
Список pgsql-general
Mmm... maybe if you can dump them as inserts you'll be able to restore
them in one DB only. Important: make the restore connection autocommit
(i.e. don't put the --single-transaction flag). That way individual
INSERTs will fail without affecting the other data if that INSERT
violates the PK. This is slow! specially with large data sets.
Once you've got the data in one DB, you can use some replication
system if you want to have that DB in all your machines. One of that
systems is Slony-I, though I haven't tried it.

--
Diego Augusto Molina
diegoaugustomolina@gmail.com

ES: Por favor, evite adjuntar documentos de Microsoft Office. Serán
desestimados.
EN: Please, avoid attaching Microsoft Office documents. They shall be discarded.
LINK: http://www.gnu.org/philosophy/no-word-attachments.html

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Memory leak somewhere at PQconnectdb?
Следующее
От: Ondrej Ivanič
Дата:
Сообщение: Re: How can I merge two tables?