Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (26 sloc) 0.767 kB
/*-------------------------------------------------------------------------
*
* foreign-data wrapper for CouchDB
*
* Copyright (c) 2011, PostgreSQL Global Development Group
*
* This software is released under the PostgreSQL Licence
*
* Author: Zheng Yang <zhengyang4k@gmail.com>
*
* IDENTIFICATION
* couchdb_fdw/couchdb_fdw--1.0.sql
*
*-------------------------------------------------------------------------
*/
CREATE FUNCTION couchdb_fdw_handler()
RETURNS fdw_handler
AS 'MODULE_PATHNAME'
LANGUAGE C STRICT;
CREATE FUNCTION couchdb_fdw_validator(text[], oid)
RETURNS void
AS 'MODULE_PATHNAME'
LANGUAGE C STRICT;
CREATE FOREIGN DATA WRAPPER couchdb_fdw
HANDLER couchdb_fdw_handler
VALIDATOR couchdb_fdw_validator;
Jump to Line
Something went wrong with that request. Please try again.