Reputation: 45
I am trying to copy tables from one postgresql8.4 to another postgresql8.4 and I am not sure how do I do that?
Upvotes: 4
Views: 11357
Reputation: 1
if you have postgres contrib installed you need to type this once is psql:
CREATE EXTENSION dblink;
Upvotes: 0
Reputation: 7423
Can't you just take pg_dump
from one and import in another? Seems quite trivial.
Take a look at this:
http://www.postgresql.org/docs/8.4/static/backup-dump.html
Upvotes: 3
Reputation: 8709
You should be able to so it using a database link:
http://www.postgresql.org/docs/8.4/static/contrib-dblink.html
Upvotes: 0