I'm trying to connect to a remote server using an external data wrapper to transfer some data between databases, but keey gets an SSLMode value, which requires "Not valid when SSL support is not compiled." These are the fragments that I execute:
CREATE SERVER remote FOREIGN DATA WRAPPER postgres_fdw
OPTIONS(dbname '...', host '...', port '...', sslmode 'require');
CREATE USER MAPPING FOR USER SERVER remote
OPTIONS (user '...', password '...');
CREATE FOREIGN TABLE remote.accounts (
...
);
SELECT * FROM remote.accounts;
DETAIL: sslmode value "requires" is not valid when SSL support is not compiled into
psql "sslmode=require" - , , . sslmode . postgres, , Heroku. , , . SSL ?