| Start |
|---|
| Extention FDW FDW is an implimentation of dblink it is more helpful, so to use it: 1-Create an extention: 2-Create SERVER: 3-Create user mapping for postgres server 4-Create foreign table: 5-use this foreign table like it is in your database: |
| Foreign Data Wrapper To access complete schema of server db instead of single table. Follow below steps:
This can be used to access multiple schema of remote DB. |
| Extention dblink dblink EXTENSION is a technique to connect another database and make operation of this database so to do that you need: 1-Create a dblink extention: 2-Make your operation: For exemple Select some attribute from another table in another database: Syntaxdblink ('dbname = name_db_distance port = PortOfDB host = HostOfDB user = usernameDB password = passwordDB', 'MY QUESRY') |
Read Article
https://develop.horje.com/learn/1434/reference