forked from citusdata/mongo_fdw
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for issue #99, Prepare to release for 5.1
Change version in control file Add sql file for 1.1 & sql file to upgrade from 1.0 to 1.1 Add new sql files in Makefile Add a function to get .so version select mongo_fdw_version(); mongo_fdw_version ------------------- 50100 (1 row)
- Loading branch information
Showing
6 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* mongo_fdw/mongo_fdw--1.0--1.1.sql */ | ||
|
||
CREATE OR REPLACE FUNCTION mongo_fdw_version() | ||
RETURNS pg_catalog.int4 STRICT | ||
AS 'MODULE_PATHNAME' LANGUAGE C; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* mongo_fdw/mongo_fdw--1.1.sql */ | ||
|
||
-- Portions Copyright © 2004-2014, EnterpriseDB Corporation. | ||
-- Portions Copyright © 2012–2014 Citus Data, Inc. | ||
|
||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION | ||
\echo Use "CREATE EXTENSION mongo_fdw" to load this file. \quit | ||
|
||
CREATE FUNCTION mongo_fdw_handler() | ||
RETURNS fdw_handler | ||
AS 'MODULE_PATHNAME' | ||
LANGUAGE C STRICT; | ||
|
||
CREATE FUNCTION mongo_fdw_validator(text[], oid) | ||
RETURNS void | ||
AS 'MODULE_PATHNAME' | ||
LANGUAGE C STRICT; | ||
|
||
CREATE FOREIGN DATA WRAPPER mongo_fdw | ||
HANDLER mongo_fdw_handler | ||
VALIDATOR mongo_fdw_validator; | ||
|
||
CREATE OR REPLACE FUNCTION mongo_fdw_version() | ||
RETURNS pg_catalog.int4 STRICT | ||
AS 'MODULE_PATHNAME' LANGUAGE C; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters