Skip to content

Commit 15290a6

Browse files
committed
Initial setup of PG19 branch
Initial setup of PG19 branch. Currently it points to Beta1 modified: .asf.yaml modified: .github/workflows/go-driver.yml modified: .github/workflows/installcheck.yaml modified: .github/workflows/jdbc-driver.yaml modified: .github/workflows/nodejs-driver.yaml modified: .github/workflows/python-driver.yaml modified: docker/Dockerfile modified: docker/Dockerfile.dev
1 parent 14732bf commit 15290a6

8 files changed

Lines changed: 34 additions & 35 deletions

File tree

.asf.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ github:
3232
- postgresql-extension
3333
- graphdb
3434
- multi-model-dbms
35-
- agensgraph
3635
- age-database
3736
features:
3837
wiki: true

.github/workflows/go-driver.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Go Driver Tests
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "PG19" ]
66

77
pull_request:
8-
branches: [ "master" ]
8+
branches: [ "PG19" ]
99

1010
jobs:
1111
build:

.github/workflows/installcheck.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,44 @@ name: Build / Regression
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "PG19" ]
66

77
pull_request:
8-
branches: [ "master" ]
8+
branches: [ "PG19" ]
99

1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- name: Get latest commit id of PostgreSQL 18
15+
- name: Get latest commit id of PostgreSQL 19
1616
run: |
17-
echo "PG_COMMIT_HASH=$(git ls-remote https://git.postgresql.org/git/postgresql.git refs/heads/REL_18_STABLE | awk '{print $1}')" >> $GITHUB_ENV
17+
echo "PG_COMMIT_HASH=$(git ls-remote https://git.postgresql.org/git/postgresql.git refs/tags/REL_19_BETA1 | awk '{print $1}')" >> $GITHUB_ENV
1818
19-
- name: Cache PostgreSQL 18
19+
- name: Cache PostgreSQL 19
2020
uses: actions/cache@v3
21-
id: pg18cache
21+
id: pg19cache
2222
with:
23-
path: ~/pg18
24-
key: ${{ runner.os }}-v1-pg18-${{ env.PG_COMMIT_HASH }}
23+
path: ~/pg19
24+
key: ${{ runner.os }}-v1-pg19-${{ env.PG_COMMIT_HASH }}
2525

2626
- name: Install necessary dependencies
2727
run: |
2828
sudo apt-get update
2929
sudo apt-get install -y build-essential libreadline-dev zlib1g-dev flex bison
3030
31-
- name: Install PostgreSQL 18 and some extensions
32-
if: steps.pg18cache.outputs.cache-hit != 'true'
31+
- name: Install PostgreSQL 19 and some extensions
32+
if: steps.pg19cache.outputs.cache-hit != 'true'
3333
run: |
34-
git clone --depth 1 --branch REL_18_STABLE https://git.postgresql.org/git/postgresql.git ~/pg18source
35-
cd ~/pg18source
36-
./configure --prefix=$HOME/pg18 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
34+
git clone --depth 1 --branch REL_19_BETA1 https://git.postgresql.org/git/postgresql.git ~/pg19source
35+
cd ~/pg19source
36+
./configure --prefix=$HOME/pg19 CFLAGS="-std=gnu99 -ggdb -O0" --enable-cassert
3737
make install -j$(nproc) > /dev/null
3838
cd contrib
3939
cd fuzzystrmatch
40-
make PG_CONFIG=$HOME/pg18/bin/pg_config install -j$(nproc) > /dev/null
40+
make PG_CONFIG=$HOME/pg19/bin/pg_config install -j$(nproc) > /dev/null
4141
cd ../pg_trgm
42-
make PG_CONFIG=$HOME/pg18/bin/pg_config install -j$(nproc) > /dev/null
42+
make PG_CONFIG=$HOME/pg19/bin/pg_config install -j$(nproc) > /dev/null
4343
4444
- uses: actions/checkout@v3
4545
with:
@@ -48,19 +48,19 @@ jobs:
4848
- name: Build AGE
4949
id: build
5050
run: |
51-
make PG_CONFIG=$HOME/pg18/bin/pg_config COPT=-Werror install -j$(nproc)
51+
make PG_CONFIG=$HOME/pg19/bin/pg_config COPT=-Werror install -j$(nproc)
5252
5353
- name: Pull and build pgvector
5454
id: pgvector
5555
run: |
5656
git clone https://github.com/pgvector/pgvector.git
5757
cd pgvector
58-
make PG_CONFIG=$HOME/pg18/bin/pg_config install -j$(nproc) > /dev/null
58+
make PG_CONFIG=$HOME/pg19/bin/pg_config install -j$(nproc) > /dev/null
5959
6060
- name: Regression tests
6161
id: regression_tests
6262
run: |
63-
make PG_CONFIG=$HOME/pg18/bin/pg_config installcheck EXTRA_TESTS="pgvector fuzzystrmatch pg_trgm"
63+
make PG_CONFIG=$HOME/pg19/bin/pg_config installcheck EXTRA_TESTS="pgvector fuzzystrmatch pg_trgm"
6464
continue-on-error: true
6565

6666
- name: Dump regression test errors

.github/workflows/jdbc-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: JDBC Driver Tests
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "PG19" ]
66

77
pull_request:
8-
branches: [ "master" ]
8+
branches: [ "PG19" ]
99

1010
jobs:
1111
build:

.github/workflows/nodejs-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Nodejs Driver Tests
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "PG19" ]
66

77
pull_request:
8-
branches: [ "master" ]
8+
branches: [ "PG19" ]
99

1010
jobs:
1111
build:

.github/workflows/python-driver.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Python Driver Tests
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "PG19" ]
66

77
pull_request:
8-
branches: [ "master" ]
8+
branches: [ "PG19" ]
99

1010
jobs:
1111
build:

docker/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
#
1818

1919
# Build stage: Install necessary development tools for compilation and installation
20-
FROM postgres:18 AS build
20+
FROM postgres:19 AS build
2121

2222
RUN apt-get update \
2323
&& apt-get install -y --no-install-recommends --no-install-suggests \
2424
bison \
2525
build-essential \
2626
flex \
27-
postgresql-server-dev-18
27+
postgresql-server-dev-19
2828

2929
COPY . /age
3030

@@ -34,7 +34,7 @@ RUN make && make install
3434

3535

3636
# Final stage: Create a final image by copying the files created in the build stage
37-
FROM postgres:18
37+
FROM postgres:19
3838

3939
RUN apt-get update \
4040
&& apt-get install -y --no-install-recommends --no-install-suggests \
@@ -48,9 +48,9 @@ ENV LANG=en_US.UTF-8
4848
ENV LC_COLLATE=en_US.UTF-8
4949
ENV LC_CTYPE=en_US.UTF-8
5050

51-
COPY --from=build /usr/lib/postgresql/18/lib/age.so /usr/lib/postgresql/18/lib/
52-
COPY --from=build /usr/share/postgresql/18/extension/age--1.7.0.sql /usr/share/postgresql/18/extension/
53-
COPY --from=build /usr/share/postgresql/18/extension/age.control /usr/share/postgresql/18/extension/
51+
COPY --from=build /usr/lib/postgresql/19/lib/age.so /usr/lib/postgresql/19/lib/
52+
COPY --from=build /usr/share/postgresql/19/extension/age--1.7.0.sql /usr/share/postgresql/19/extension/
53+
COPY --from=build /usr/share/postgresql/19/extension/age.control /usr/share/postgresql/19/extension/
5454
COPY docker/docker-entrypoint-initdb.d/00-create-extension-age.sql /docker-entrypoint-initdb.d/00-create-extension-age.sql
5555

5656
CMD ["postgres", "-c", "shared_preload_libraries=age"]

docker/Dockerfile.dev

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
#
1818

1919

20-
FROM postgres:18
20+
FROM postgres:19
2121

2222
RUN apt-get update
2323
RUN apt-get install --assume-yes --no-install-recommends --no-install-suggests \
2424
bison \
2525
build-essential \
2626
flex \
27-
postgresql-server-dev-18 \
27+
postgresql-server-dev-19 \
2828
locales
2929

3030
ENV LANG=en_US.UTF-8

0 commit comments

Comments
 (0)