if you encounter problems like this related connection using dblink, then this is the solution
Activate function DBlink :
CREATE EXTENSION dblink;
Connection Link Query :
select dblink_connect(‘host=servername user=username password=password dbname=databasename’) ;
Result :
OK