You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unknown macro: {bookmark}

CREATE SERVER couchdb_server
FOREIGN DATA WRAPPER couchdb_fdw
OPTIONS (address '127.0.0.1', port '5984');

CREATE FOREIGN TABLE couchdb_table (key text, value text)
SERVER couchdb_server
OPTIONS (database 'testdb', key '_id', value '_doc');

CREATE USER MAPPING FOR PUBLIC
SERVER couchdb_server
OPTIONS (username 'testuser', password 'secret');

  • No labels