Skip to content

Commit

Permalink
Version 2.0.1 bumped.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbasb committed Jun 22, 2017
1 parent 71b6bfe commit d1bc6c1
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ OBJS = hdfs_client.o hdfs_query.o hdfs_option.o hdfs_deparse.o hdfs_connection.o

REGRESS = datatype external mapping retrival
EXTENSION = hdfs_fdw
DATA = hdfs_fdw--2.0--2.0.1.sql hdfs_fdw--1.0--2.0.sql hdfs_fdw--1.0.sql
DATA = hdfs_fdw--2.0.1.sql hdfs_fdw--2.0--2.0.1.sql hdfs_fdw--1.0--2.0.sql hdfs_fdw--1.0.sql

PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
Expand Down
2 changes: 1 addition & 1 deletion hdfs_fdw--1.0--2.0.sql
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
2 changes: 1 addition & 1 deletion hdfs_fdw--2.0--2.0.1.sql
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
33 changes: 33 additions & 0 deletions hdfs_fdw--2.0.1.sql
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;
4 changes: 2 additions & 2 deletions hdfs_fdw.control
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# hdfs_fdw.control
# Foreign-data wrapper for remote Hadoop servers
#
# Portions Copyright (c) 2012-2014, PostgreSQL Global Development Group
# Portions Copyright (c) 2012-2017, PostgreSQL Global Development Group
#
# Portions Copyright (c) 2004-2014, EnterpriseDB Corporation.
# Portions Copyright (c) 2004-2017, EnterpriseDB Corporation.
#
# IDENTIFICATION
# hdfs_fdw.control
Expand Down

0 comments on commit d1bc6c1

Please sign in to comment.