4

I am trying to copy tables from one postgresql8.4 to another postgresql8.4 and I am not sure how do I do that?

3 Answers 3

3

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

Sign up to request clarification or add additional context in comments.

Comments

0

You should be able to so it using a database link:

http://www.postgresql.org/docs/8.4/static/contrib-dblink.html

1 Comment

Could you add a bit to that answer? I get "function dblink... does not exist".. Any idea's how to get around that?
0

if you have postgres contrib installed you need to type this once is psql:

CREATE EXTENSION dblink;

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.