Skip to content

Commit

Permalink
Update to pgbouncer v1.17.0 on Heroku-22 (#166)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
edmorley authored Jun 20, 2022
1 parent 6aa99fe commit b90524d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Unreleased

## v0.11.0 (June 20, 2022)
* Update to pgbouncer v1.17.0 on Heroku-22, to fix OpenSSL 3 related crashes

## v0.10.0 (May 19, 2022)
* Add support for Heroku-22
* Add codeowners
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" -w /buildpack heroku/heroku:22-build support/pgbouncer-build
@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

shell:
@echo "Opening heroku-22 shell..."
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ The buildpack will install and configure pgbouncer to connect to
`bin/start-pgbouncer` to any process in the Procfile to run pgbouncer alongside
that process.

## PgBouncer Version

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

## Multiple Databases
It is possible to connect to multiple databases through pgbouncer by setting
Expand Down
Binary file modified pgbouncer-heroku-22.tgz
Binary file not shown.

0 comments on commit b90524d

Please sign in to comment.