Ron, thanksagain. In case if I need to migrate the entire tables, I should be able to use pg_dump and pg_restore for certain tables, even between different versions, right? In case if I need to migrate from 8 to 9?
Thanks
From: Ron <ronljohnsonjr@gmail.com> Sent: Thursday, March 7, 2019 5:59 PM To: pgsql-general@lists.postgresql.org Subject: Re: partial data migration
(8.3? That's even older than what we just migrated from!!!)
No. Make some views (I'd probably make them "month-sized"), COPY each view from the source db to a file, and then COPY each file to it's relevant target table.
You should also think about a program named pg_bulkload.
We need to migrate only 6 months worth of data from one instance to another. What would be the easiest way to do it? In Oracle, I would set up dblink. What about postgresql?