Skip to content

Commit

Permalink
(maint) Pin to Postgres 14.6
Browse files Browse the repository at this point in the history
Postgres 14.7 started enforcing a restriction where databases could not
be created or dropped as part of a pipeline of SQL commands. We are
doing that in our `create-db` function when the user that is designated
to be the DB owner is not part of the `db-owner` role or a superuser.
That code should be fixed, though the fact that this isn't causing a
problem in PE, which is currently using Postgres 14.13, likely means
this path is unused.

In the meantime, this commit pins CI for this repo to 14.6, where the
existing code is still allowed.
  • Loading branch information
Magisus committed Oct 2, 2024
1 parent a63f691 commit 525ccc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lein-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
image: postgres:14.6
env:
POSTGRES_PASSWORD: foobar
options: >-
Expand Down

0 comments on commit 525ccc2

Please sign in to comment.