Skip to content

Commit

Permalink
Add pgbouncer 1.14 (#135)
Browse files Browse the repository at this point in the history
* Add pgbouncer 1.14

* Update Changelog.md
  • Loading branch information
beanieboi authored Jun 12, 2020
1 parent d6c4401 commit 62f4d94
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 3 deletions.
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

0 comments on commit 62f4d94

Please sign in to comment.