-
Notifications
You must be signed in to change notification settings - Fork 8
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
11 changed files
with
55 additions
and
14 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 |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
"release_status": "stable", | ||
"maintainer": "Ian Barwick <[email protected]>", | ||
"license": { | ||
"PostgreSQL": "http://www.postgresql.org/about/licence" | ||
"PostgreSQL": "https://www.postgresql.org/about/licence" | ||
}, | ||
"prereqs": { | ||
"runtime": { | ||
"requires": { | ||
"PostgreSQL": "9.2.0" | ||
"PostgreSQL": "9.3.0" | ||
} | ||
} | ||
}, | ||
|
@@ -23,7 +23,7 @@ | |
} | ||
}, | ||
"resources": { | ||
"homepage": "http://sql-info.de/postgresql/firebird-fdw/index.html", | ||
"homepage": "https://sql-info.de/postgresql/firebird-fdw/index.html", | ||
"repository": { | ||
"url": "git://github.com/ibarwick/firebird_fdw.git", | ||
"web": "https://github.com/ibarwick/firebird_fdw", | ||
|
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 |
---|---|---|
|
@@ -54,6 +54,8 @@ rm -rf $RPM_BUILD_ROOT | |
%{pgsql_path}/share/extension/firebird_fdw.control | ||
|
||
%changelog | ||
* Sat Oct 17 2020 Ian Barwick ([email protected]) | ||
- 1.2.0 release | ||
* Fri May 31 2019 Ian Barwick ([email protected]) | ||
- 1.1.0 release | ||
* Fri Nov 9 2018 Ian Barwick ([email protected]) | ||
|
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 |
---|---|---|
|
@@ -62,6 +62,8 @@ rm -rf $RPM_BUILD_ROOT | |
%endif | ||
|
||
%changelog | ||
* Sat Oct 17 2020 Ian Barwick ([email protected]) | ||
- 1.2.0 release | ||
* Fri May 31 2019 Ian Barwick ([email protected]) | ||
- 1.1.0 release | ||
* Fri Nov 9 2018 Ian Barwick ([email protected]) | ||
|
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 |
---|---|---|
|
@@ -62,6 +62,8 @@ rm -rf $RPM_BUILD_ROOT | |
%endif | ||
|
||
%changelog | ||
* Sat Oct 17 2020 Ian Barwick ([email protected]) | ||
- 1.2.0 release | ||
* Fri May 31 2019 Ian Barwick ([email protected]) | ||
- 1.1.0 release | ||
* Fri Nov 9 2018 Ian Barwick ([email protected]) | ||
|
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,18 +1,22 @@ | ||
Summary: A PostgreSQL foreign data wrapper (FDW) for Firebird | ||
Name: postgresql94-firebird_fdw | ||
Name: postgresql13-firebird_fdw | ||
Version: 1.2.0 | ||
Release: 1 | ||
Source: firebird_fdw-%{version}.tar.gz | ||
URL: https://github.com/ibarwick/firebird_fdw | ||
License: PostgreSQL | ||
Group: Productivity/Databases/Tools | ||
Packager: Ian Barwick | ||
BuildRequires: postgresql94-devel firebird-devel | ||
BuildRequires: postgresql13-devel firebird-devel | ||
BuildRequires: libfq | ||
%if 0%{?rhel} && 0%{?rhel} >= 7 | ||
BuildRequires: llvm-toolset-7 | ||
BuildRequires: llvm5.0 | ||
%endif | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-build | ||
Requires: postgresql94-server libfq | ||
Requires: postgresql13-server libfq | ||
|
||
%define pgsql_path /usr/pgsql-9.4 | ||
%define pgsql_path /usr/pgsql-13 | ||
|
||
%description | ||
This is a foreign data wrapper (FDW) to connect PostgreSQL to Firebird. | ||
|
@@ -53,7 +57,13 @@ rm -rf $RPM_BUILD_ROOT | |
%{pgsql_path}/share/extension/firebird_fdw--1.2.0.sql | ||
%{pgsql_path}/share/extension/firebird_fdw.control | ||
|
||
%if 0%{?rhel} && 0%{?rhel} >= 7 | ||
%exclude %{pgsql_path}/lib/bitcode | ||
%endif | ||
|
||
%changelog | ||
* Sat Oct 17 2020 Ian Barwick ([email protected]) | ||
- 1.2.0 release | ||
* Fri May 31 2019 Ian Barwick ([email protected]) | ||
- 1.1.0 release | ||
* Fri Nov 9 2018 Ian Barwick ([email protected]) | ||
|
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 |
---|---|---|
|
@@ -54,6 +54,8 @@ rm -rf $RPM_BUILD_ROOT | |
%{pgsql_path}/share/extension/firebird_fdw.control | ||
|
||
%changelog | ||
* Sat Oct 17 2020 Ian Barwick ([email protected]) | ||
- 1.2.0 release | ||
* Fri May 31 2019 Ian Barwick ([email protected]) | ||
- 1.1.0 release | ||
* Fri Nov 9 2018 Ian Barwick ([email protected]) | ||
|
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 |
---|---|---|
|
@@ -52,6 +52,8 @@ rm -rf $RPM_BUILD_ROOT | |
%{pgsql_path}/share/extension/firebird_fdw.control | ||
|
||
%changelog | ||
* Sat Oct 17 2020 Ian Barwick ([email protected]) | ||
- 1.2.0 release | ||
* Fri May 31 2019 Ian Barwick ([email protected]) | ||
- 1.1.0 release | ||
* Fri Nov 9 2018 Ian Barwick ([email protected]) | ||
|
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,11 +1,29 @@ | ||
-- complain if script is sourced in psql, rather than via CREATE EXTENSION | ||
\echo Use "CREATE EXTENSION firebird_fdw" to load this file. \quit | ||
|
||
CREATE FUNCTION firebird_fdw_server_options( | ||
ALTER FUNCTION firebird_fdw_server_options( | ||
IN server_name TEXT, | ||
OUT name TEXT, | ||
OUT value TEXT, | ||
OUT provided BOOL) | ||
OUT provided BOOL | ||
) | ||
STABLE PARALLEL UNSAFE; | ||
|
||
CREATE OR REPLACE FUNCTION firebird_fdw_server_options( | ||
IN server_name TEXT, | ||
OUT name TEXT, | ||
OUT value TEXT, | ||
OUT provided BOOL | ||
) | ||
RETURNS SETOF record | ||
AS 'MODULE_PATHNAME' | ||
LANGUAGE C STRICT VOLATILE PARALLEL UNSAFE; | ||
|
||
CREATE OR REPLACE FUNCTION firebird_version( | ||
OUT server_name TEXT, | ||
OUT firebird_version INT, | ||
OUT firebird_version_string TEXT | ||
) | ||
RETURNS SETOF record | ||
AS 'MODULE_PATHNAME' | ||
LANGUAGE C STRICT VOLATILE PARALLEL SAFE; | ||
LANGUAGE C STRICT VOLATILE PARALLEL UNSAFE; |
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