Skip to content

Commit

Permalink
Update pgbouncer to v1.17.0 for Heroku-18 and Heroku-20 (#170)
Browse files Browse the repository at this point in the history
For parity with Heroku-22 (thereby reducing differences between stacks, so
there is one fewer thing to think about when upgrading stacks), now that the
cause of #150 is understood and fixed.

https://www.pgbouncer.org/changelog.html#pgbouncer-117x

Binaries generated using `make build-heroku-18 build-heroku-20`.
  • Loading branch information
edmorley authored Sep 9, 2022
1 parent 19368b1 commit 9259869
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 17 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Unreleased

## v0.13.0 (September 9, 2022)
* Update pgbouncer to v1.17.0 for Heroku-18 and Heroku-20 (for parity with Heroku-22)

## v0.12.0 (September 6, 2022)
* Add missing `SIGTERM` patch for v1.17.0 (corrects shutdown behaviour on Heroku-22)

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-heroku-20:

build-heroku-22:
@echo "Building pgbouncer in Docker for heroku-22..."
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-22" -e "PGBOUNCER_VERSION=1.17.0" -w /buildpack heroku/heroku:22-build support/pgbouncer-build
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-22" -w /buildpack heroku/heroku:22-build support/pgbouncer-build

shell:
@echo "Opening heroku-22 shell..."
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ that process.

## PgBouncer Version

- Heroku-18: `v1.14.0`
- Heroku-20: `v1.14.0`
- Heroku-18: `v1.17.0`
- Heroku-20: `v1.17.0`
- Heroku-22: `v1.17.0`

## Multiple Databases
Expand Down
Binary file modified pgbouncer-heroku-18.tgz
Binary file not shown.
Binary file modified pgbouncer-heroku-20.tgz
Binary file not shown.
13 changes: 0 additions & 13 deletions support/patchfiles/1.14.0/0001-Disable-SIGTERM.patch

This file was deleted.

2 changes: 1 addition & 1 deletion support/pgbouncer-build
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

PGBOUNCER_VERSION=${PGBOUNCER_VERSION-1.14.0}
PGBOUNCER_VERSION=${PGBOUNCER_VERSION-1.17.0}

pgbouncer_tarball_url=https://www.pgbouncer.org/downloads/files/${PGBOUNCER_VERSION}/pgbouncer-${PGBOUNCER_VERSION}.tar.gz

Expand Down

0 comments on commit 9259869

Please sign in to comment.