Skip to content

Commit b90524d

Browse files
authored
Update to pgbouncer v1.17.0 on Heroku-22 (#166)
To fix crashes/seg faults seen on Heroku-22 due to Ubuntu 22.04 now shipping with OpenSSL 3. See: https://www.pgbouncer.org/2022/03/pgbouncer-1-17-0 https://www.pgbouncer.org/changelog.html#pgbouncer-117x The other stacks remain on pgbouncer 1.14.0 for now, until #150 (the reason an earlier upgrade to pgbouncer was rolled back) can be investigated. #165 is also open for improving the CI of this repo (since it didn't catch these crashes), though fixing that is out of the scope of this PR, as we just need to stop the crashes for now. Fixes #164. GUS-W-11319779.
1 parent 6aa99fe commit b90524d

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Unreleased
22

3+
## v0.11.0 (June 20, 2022)
4+
* Update to pgbouncer v1.17.0 on Heroku-22, to fix OpenSSL 3 related crashes
5+
36
## v0.10.0 (May 19, 2022)
47
* Add support for Heroku-22
58
* Add codeowners

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-heroku-20:
1010

1111
build-heroku-22:
1212
@echo "Building pgbouncer in Docker for heroku-22..."
13-
@docker run -v $(shell pwd):/buildpack --rm -it -e "STACK=heroku-22" -w /buildpack heroku/heroku:22-build support/pgbouncer-build
13+
@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
1414

1515
shell:
1616
@echo "Opening heroku-22 shell..."

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ The buildpack will install and configure pgbouncer to connect to
9090
`bin/start-pgbouncer` to any process in the Procfile to run pgbouncer alongside
9191
that process.
9292

93+
## PgBouncer Version
94+
95+
- Heroku-18: `v1.14.0`
96+
- Heroku-20: `v1.14.0`
97+
- Heroku-22: `v1.17.0`
9398

9499
## Multiple Databases
95100
It is possible to connect to multiple databases through pgbouncer by setting

pgbouncer-heroku-22.tgz

15.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)