-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upate pg_hint_plan on PostgreSQL 14-17 (#858)
Include each as a separate extension, since each supports only a single major version of PostgreSQL. Update the extensions workflow to skip incomptible tests and builds, and also for four other extensions that have been removed from Postgres 17.
- Loading branch information
Showing
9 changed files
with
106 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ARG PG_VERSION=14 | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
# ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
RUN git clone --depth 1 --branch "REL14_$(perl -E 'print shift =~ s/\./_/gr' "${EXTENSION_VERSION}")" https://github.com/ossc-db/pg_hint_plan.git \ | ||
&& make -C pg_hint_plan |
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,18 @@ | ||
[extension] | ||
name = "pg_hint_plan15" | ||
version = "1.4.3" | ||
repository = "https://github.com/ossc-db/pg_hint_plan" | ||
license = "Copyright" | ||
description = "pg_hint_plan makes it possible to tweak PostgreSQL execution plans." | ||
homepage = "http://www.oss.ecl.ntt.co.jp/ossc/" | ||
documentation = "https://github.com/ossc-db/pg_hint_plan" | ||
categories = ["query_optimizations"] | ||
|
||
[dependencies] | ||
apt = ["libc6"] | ||
|
||
[build] | ||
postgres_version = "14" | ||
platform = "linux/amd64" | ||
dockerfile = "Dockerfile" | ||
install_command = "make -C pg_hint_plan install" |
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,7 @@ | ||
ARG PG_VERSION=15 | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
# ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
RUN git clone --depth 1 --branch "REL15_$(perl -E 'print shift =~ s/\./_/gr' "${EXTENSION_VERSION}")" https://github.com/ossc-db/pg_hint_plan.git \ | ||
&& make -C pg_hint_plan |
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,18 @@ | ||
[extension] | ||
name = "pg_hint_plan15" | ||
version = "1.5.2" | ||
repository = "https://github.com/ossc-db/pg_hint_plan" | ||
license = "Copyright" | ||
description = "pg_hint_plan makes it possible to tweak PostgreSQL execution plans." | ||
homepage = "http://www.oss.ecl.ntt.co.jp/ossc/" | ||
documentation = "https://github.com/ossc-db/pg_hint_plan" | ||
categories = ["query_optimizations"] | ||
|
||
[dependencies] | ||
apt = ["libc6"] | ||
|
||
[build] | ||
postgres_version = "15" | ||
platform = "linux/amd64" | ||
dockerfile = "Dockerfile" | ||
install_command = "make -C pg_hint_plan install" |
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,12 +1,7 @@ | ||
ARG PG_VERSION=15 | ||
ARG PG_VERSION=16 | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/ossc-db/pg_hint_plan.git | ||
|
||
ARG RELEASE=REL16_1_6_0 | ||
|
||
RUN cd pg_hint_plan && \ | ||
git fetch origin ${RELEASE} && \ | ||
git checkout ${RELEASE} && \ | ||
make | ||
# ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
RUN git clone --depth 1 --branch "REL16_$(perl -E 'print shift =~ s/\./_/gr' "${EXTENSION_VERSION}")" https://github.com/ossc-db/pg_hint_plan.git \ | ||
&& make -C pg_hint_plan |
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,7 @@ | ||
ARG PG_VERSION=16 | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
# ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
RUN git clone --depth 1 --branch "REL17_$(perl -E 'print shift =~ s/\./_/gr' "${EXTENSION_VERSION}")" https://github.com/ossc-db/pg_hint_plan.git \ | ||
&& make -C pg_hint_plan |
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,18 @@ | ||
[extension] | ||
name = "pg_hint_plan17" | ||
version = "1.7.0" | ||
repository = "https://github.com/ossc-db/pg_hint_plan" | ||
license = "Copyright" | ||
description = "pg_hint_plan makes it possible to tweak PostgreSQL execution plans." | ||
homepage = "http://www.oss.ecl.ntt.co.jp/ossc/" | ||
documentation = "https://github.com/ossc-db/pg_hint_plan" | ||
categories = ["query_optimizations"] | ||
|
||
[dependencies] | ||
apt = ["libc6"] | ||
|
||
[build] | ||
postgres_version = "17" | ||
platform = "linux/amd64" | ||
dockerfile = "Dockerfile" | ||
install_command = "make -C pg_hint_plan install" |