0

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?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.