Re: [GENERAL] Move rows from one database to other

Поиск
Список
Период
Сортировка
От Thomas Güttler
Тема Re: [GENERAL] Move rows from one database to other
Дата
Msg-id bb46187c-5115-6472-71ac-a3d6b1487d2d@thomas-guettler.de
обсуждение исходный текст
Ответ на Re: [GENERAL] Move rows from one database to other  (Melvin Davidson <melvin6925@gmail.com>)
Ответы Re: [GENERAL] Move rows from one database to other  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: [GENERAL] Move rows from one database to other  (Francisco Olarte <folarte@peoplecall.com>)
Список pgsql-general
>>I have other concerns: atomar transaction. Movement should happen completely or not all.
>>I don't think you can do this reliable (atomic transaction) with "copy table_name".
>
> You can if you wrap it in a transaction:

I want to **move** the data. The data should get deleted on the satellite after transfer.

I don't know how to delete the data which was copied, since inserts can happen during the copy statement.

Regards,
   Thomas Güttler



--
Thomas Guettler http://www.thomas-guettler.de/


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

Предыдущее
От: Thomas Güttler
Дата:
Сообщение: Re: [GENERAL] Move rows from one database to other
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [GENERAL] Move rows from one database to other