Skip to content

Commit

Permalink
README Changes for user mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrarahmed1974 committed Jul 10, 2014
1 parent 08bbee6 commit f4f6c42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ CREATE SERVER mongo_server
FOREIGN DATA WRAPPER mongo_fdw
OPTIONS (address '127.0.0.1', port '27017');

-- create user mapping
CREATE USER MAPPING FOR postgres
SERVER mongo_server
OPTIONS (username 'mongo_user', password 'mongo_pass');

-- create foreign table
CREATE FOREIGN TABLE warehouse(
_id NAME,
Expand Down

0 comments on commit f4f6c42

Please sign in to comment.