Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pgbouncer 1.14 #135

Merged
merged 2 commits into from
Jun 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Unreleased
## v0.6.0 (June 12, 2020)
* Add support for Heroku-20
* Updates pgbouncer to 1.14 for Heroku-20
* Updates pgbouncer to 1.14 for Heroku-18
* Updates pgbouncer to 1.14 for Heroku-16

## v0.5.0 (May 18, 2020)
* Updates pgbouncer to 1.13 for Heroku-18
Expand Down
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function indent() {
}

if [[ "${STACK}" == "heroku-16" || "${STACK}" == "heroku-18" || "${STACK}" == "heroku-20" ]]; then
PGBOUNCER_VERSION="1.13.0"
PGBOUNCER_VERSION="1.14.0"
elif [[ "${STACK}" == "cedar-14" ]]; then
PGBOUNCER_VERSION="1.7"
else
Expand Down
Binary file removed pgbouncer-1.13.0-heroku-16.tgz
Binary file not shown.
Binary file removed pgbouncer-1.13.0-heroku-18.tgz
Binary file not shown.
Binary file removed pgbouncer-1.13.0-heroku-20.tgz
Binary file not shown.
Binary file added pgbouncer-1.14.0-heroku-16.tgz
Binary file not shown.
Binary file added pgbouncer-1.14.0-heroku-18.tgz
Binary file not shown.
Binary file added pgbouncer-1.14.0-heroku-20.tgz
Binary file not shown.
13 changes: 13 additions & 0 deletions support/patchfiles/1.14.0/0001-Disable-SIGTERM.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- src/main.c
+++ src/main.c
@@ -433,9 +433,7 @@ static struct event ev_sigint;

static void handle_sigterm(evutil_socket_t sock, short flags, void *arg)
{
- log_info("got SIGTERM, fast exit");
- /* pidfile cleanup happens via atexit() */
- exit(1);
+ log_info("Got SIGTERM, ignoring!");
}

static void handle_sigint(evutil_socket_t sock, short flags, void *arg)
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 -e

PGBOUNCER_VERSION=${PGBOUNCER_VERSION-1.13.0}
PGBOUNCER_VERSION=${PGBOUNCER_VERSION-1.14.0}

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

Expand Down