-
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.
Fix for RM # 42861, provide a function to return code version
Add a SQL function to return code version The function usage is as follows: select hdfs_fdw_version(); hdfs_fdw_version ------------------ 20003 (1 row) The purpose of code version is as follows: If the .so file is updated and the customer just installs the update but does not do an ALTER EXTENSION then the \dx version will still be older but the .so will be newer. To detect which version of .so is being used we need a code version.
- Loading branch information
EC2 Default User
committed
Dec 15, 2017
1 parent
efc59da
commit 5b806f9
Showing
3 changed files
with
25 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/* hdfs_fdw/hdfs_fdw--2.0.2--2.0.3.sql */ | ||
|
||
-- No new functions or definitions were added in 2.0.3 | ||
CREATE OR REPLACE FUNCTION hdfs_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