Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
{bookmark:url=https://github.com/ZhengYang/couchdb_fdw}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');{bookmark}