Skip to content

Commit

Permalink
upgraded to pg17 in misc-migtests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Dec 24, 2024
1 parent 81c30b0 commit 3f2b3e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/misc-migtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

services:
postgres:
image: postgres:15
image: postgres:17
env:
POSTGRES_PASSWORD: secret
# Set health checks to wait until postgres has started
Expand Down Expand Up @@ -59,7 +59,9 @@ jobs:
run: |
cd installer_scripts
yes | ./install-yb-voyager --install-from-local-source --only-pg-support
echo "/usr/lib/postgresql/16/bin" >> "$GITHUB_PATH"
sudo apt-get -y install postgresql-17
sudo /usr/lib/postgresql/17/bin/pg_dump --version
echo "/usr/lib/postgresql/17/bin" >> "$GITHUB_PATH"
env:
ON_INSTALLER_ERROR_OUTPUT_LOG: Y

Expand Down
2 changes: 1 addition & 1 deletion yb-voyager/src/srcdb/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import (

const MIN_SUPPORTED_PG_VERSION_OFFLINE = "9"
const MIN_SUPPORTED_PG_VERSION_LIVE = "10"
const MAX_SUPPORTED_PG_VERSION = "16"
const MAX_SUPPORTED_PG_VERSION = "17"
const MISSING = "MISSING"
const GRANTED = "GRANTED"
const NO_USAGE_PERMISSION = "NO USAGE PERMISSION"
Expand Down

0 comments on commit 3f2b3e4

Please sign in to comment.