Problems copying data to different database

Поиск
Список
Период
Сортировка
От Ramakrishna Reddy
Тема Problems copying data to different database
Дата
Msg-id CA5E157F5EFE1C4D9CCC5272E67F8781084AE3@rsi-che-mail01.induschennai.rsystems.com
обсуждение исходный текст
Список pgsql-general
Hi,

My requirement is to archive records from main DB to the archive DB after certain period. Using Dblink facility, I'm
ableto perform any kind of activity on the archive DB, except copying from Table of MainDb to a Table of ArchiveDb. Is
itpossible to move the selective records using following kind of query: 

select dblink_exec ('dbname = ArchiveDb', 'insert into Archive_Table select * from To_Be_Archived_Table')

Request your suggestions to achieve this.

Thanks,
RamaKrishna.

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Data about rate of downloads
Следующее
От: peter pilsl
Дата:
Сообщение: help with rules please