EXTENSION dblink and postgres fdw
suggest changeSyntax
dblink('dbname=name_db_distance port=PortOfDB host=HostOfDB user=usernameDB password=passwordDB', 'MY QUERY')dbname: name of the databaseport: port of the databasehost: host of the databaseuser: user name to connect aspassword: password for that userMY QUERY: the SQL to run on the remote database, such asSELECTorINSERT
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents