-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
38 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* hdfs_fdw/hdfs_fdw--2.0.sql */ | ||
/* hdfs_fdw/hdfs_fdw--1.0--2.0.sql */ | ||
|
||
-- No new functions or definitions were added in 2.0 |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/* hdfs_fdw/hdfs_fdw--2.0--2.0.1.sql */ | ||
|
||
-- No new functions or definitions were added in 2.0 | ||
-- No new functions or definitions were added in 2.0.1 |
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,33 @@ | ||
/*------------------------------------------------------------------------- | ||
* | ||
* hdfs_fdw--2.0.1.sql | ||
* Foreign-data wrapper for remote Hadoop servers | ||
* | ||
* Portions Copyright (c) 2012-2017, PostgreSQL Global Development Group | ||
* | ||
* Portions Copyright (c) 2004-2017, EnterpriseDB Corporation. | ||
* | ||
* IDENTIFICATION | ||
* hdfs_fdw--2.0.1.sql | ||
* | ||
*------------------------------------------------------------------------- | ||
*/ | ||
|
||
/* contrib/hdfs_fdw/hdfs_fdw--2.0.1.sql */ | ||
|
||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION | ||
\echo Use "CREATE EXTENSION hdfs_fdw" to load this file. \quit | ||
|
||
CREATE FUNCTION hdfs_fdw_handler() | ||
RETURNS fdw_handler | ||
AS 'MODULE_PATHNAME' | ||
LANGUAGE C STRICT; | ||
|
||
CREATE FUNCTION hdfs_fdw_validator(text[], oid) | ||
RETURNS void | ||
AS 'MODULE_PATHNAME' | ||
LANGUAGE C STRICT; | ||
|
||
CREATE FOREIGN DATA WRAPPER hdfs_fdw | ||
HANDLER hdfs_fdw_handler | ||
VALIDATOR hdfs_fdw_validator; |
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