In Exasol it's possible to connect via JDBC/ODBC to a remote database and directly import the result of a statement into a local table.
CREATE OR REPLACE CONNECTION JDBC_POSTGRESQL
TO 'jdbc:postgresql://host:port/remote_db?user=remote_user'
IDENTIFIED BY 'my_connection';
INSERT INTO target_local_table
SELECT * FROM
(
import from JDBC at JDBC_POSTGRESQL
statement 'select * from source_remote_table'
);
Is there a similar mechanism in PostgreSQL?