Skip to content

Commit 14fe5a5

Browse files
committed
use pg17 for benchmarking
1 parent b207077 commit 14fe5a5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/benchmark-linux.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Build
2323
id: build
24-
run: sudo su -c "PG_VERSION=15 USE_SOURCE=1 USE_SSL=1 ./ci/scripts/build.sh"
24+
run: sudo su -c "PG_VERSION=17 USE_SOURCE=1 USE_SSL=1 ./ci/scripts/build.sh"
2525
env:
2626
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
2727

ci/scripts/run-benchmarks.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ set -e
44
source "$(dirname "$0")/utils.sh"
55

66
export WORKDIR=/tmp/lantern
7-
export PG_VERSION=15
7+
export PG_VERSION=17
88
export GITHUB_OUTPUT=/dev/null
9-
export PGDATA=/etc/postgresql/$PG_VERSION/main
9+
export PGDATA=/var/lib/postgresql/$PG_VERSION/main
1010

1111
echo "port = 5432" >> ${PGDATA}/postgresql.conf
12+
echo "shared_preload_libraries = 'lantern_extras' " >> ${PGDATA}/postgresql.conf
1213
# Enable auth without password
1314
echo "local all all trust" > $PGDATA/pg_hba.conf
1415
echo "host all all 127.0.0.1/32 trust" >> $PGDATA/pg_hba.conf

0 commit comments

Comments
 (0)