-
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.
Update and fix pljava, plrust, a couple others (#850)
Rework pg_anonymize and pg_failover_slots after finding they lack control files on pgt.dev. They are shared library extensions, so this makes sense. But pin pg_anonymize to a specific commit and upgrade pg_failover_slots to v1.1.0. plrust and pljava are also missing control files, but should have them. Rework their build scripting to be more efficient and correct, using the tools the ship with that handle installation. Upgrade pljava to 1.6.8 and plrust to 1.2.8. Note that plrust does not yet support Postgres 17.
- Loading branch information
Showing
9 changed files
with
54 additions
and
97 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,10 +1,13 @@ | ||
# Set PostgreSQL version | ||
ARG PG_VERSION=15 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/rjuju/pg_anonymize.git | ||
ARG EXTENSION_NAME | ||
# ARG EXTENSION_VERSION | ||
ARG REVISION=692b354 | ||
|
||
# Build extension | ||
RUN cd pg_anonymize && \ | ||
make | ||
# Clone repository and build the extension. | ||
RUN git clone https://github.com/rjuju/${EXTENSION_NAME}.git ${RELEASE} \ | ||
&& cd ${EXTENSION_NAME} \ | ||
&& git checkout ${REVISION} \ | ||
&& make |
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,17 +1,12 @@ | ||
ARG PG_VERSION=15 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
USER root | ||
|
||
# Extension build dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
libkrb5-dev | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/EnterpriseDB/pg_failover_slots.git | ||
|
||
ARG RELEASE=v1.0.1 | ||
USER root | ||
RUN apt-get update && apt-get install -y libkrb5-dev | ||
|
||
RUN cd pg_failover_slots && \ | ||
git fetch origin ${RELEASE} && \ | ||
git checkout ${RELEASE} && \ | ||
make | ||
# Clone and build the extension. | ||
ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
RUN git clone --depth 1 --branch "v${EXTENSION_VERSION}" https://github.com/EnterpriseDB/${EXTENSION_NAME}.git \ | ||
&& make -C ${EXTENSION_NAME} |
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
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