Create/Modify foreign server
1. Create foreign server:( use the target postgres details.
postgresql configurationintermediate
by PostgreSQL
17 views
1. Create foreign server:( use the target postgres details.
12345678
postgres=#
CREATE SERVER oracle_dblink FOREIGN DATA WRAPPER dblink_fdw OPTIONS ( host '10.21.120.131' ,dbname 'postgres' , port '5444');
postgres=#
ALTER SERVER oracle_dblink options ( ADD port '5444');
postgres=#
ALTER SERVER oracle_dblink options ( SET port '5432');
postgres=#
DROP SERVER oracle_dblink CASCADE;Please to add comments
No comments yet. Be the first to comment!