Closed . This question needs to be more
focused . It is not currently accepting answers.
Want to improve this question? Guide the asker to update the question so it focuses on a single, specific problem. Narrowing the question will help others answer the question concisely. You may edit the question if you feel you can improve it yourself. If edited, the question will be reviewed and might be reopened.
The community reviewed whether to reopen this question 2 years ago and left it closed:
Original close reason(s) were not resolved
Is there a way that I might query a database located on "Server 2" and get my data in "Server 1" ? That is return a set of records from a remote server to my local one.
PS: Not cross database query on same server because I know how to do that with dblink.
Update: great ty.
http://www.postgresonline.com/journal/index.php?/archives/44-Using-DbLink-to-access-other-PostgreSQL-Databases-and-Servers.html works like a charm. My bust was that I didn't see it on the dblink documentation on postgresql website.