Permalink
Commits on Oct 8, 2018
  1. Support Heroku-18 stack image (#98)

    tt authored and tcrayford committed Oct 8, 2018
Commits on Oct 1, 2018
  1. Overhaul development tooling (#116)

    beanieboi committed Oct 1, 2018
    * Add Makefile to easily create builds for different stacks
    
    * Update development instructions and changelog
    
    * open a Heroku-18 shell because it’s the new default stack
Commits on Sep 25, 2018
  1. Update README.md

    jkutner committed Sep 25, 2018
  2. Update README.md

    jkutner committed Sep 25, 2018
Commits on Aug 20, 2018
  1. Add query_wait_timeout configuration option (#100)

    mble authored and binarycleric committed Aug 20, 2018
    This commit adds the `query_wait_timeout` configuration option
    and associated `PGBOUNCER_QUERY_WAIT_TIMEOUT` env var for
    configuration, in order to allow customisation of this option.
    
    Default is set to 120 seconds, as per PgBouncer default.
Commits on Aug 3, 2018
Commits on Jul 13, 2018
  1. Using exec in stunnel wrapper script (#110)

    binarycleric committed Jul 13, 2018
    The wrapper script was previously creating a child process which messed 
    up our signal trapping. Running `exec` should replace the current process 
    with `bin/start-pgbouncer` which will trap kill signals and not exit until all 
    of the child processes have exited.
    
    The issue was that the wrapper script was creating `bin/start-pgbouncer` as 
    a child process and not trapping any signals. Without the wrapper script 
    `bin/start-pgbouncer` will trap signals, forward them to children, and wait 
    until they have all exited cleanly before dying.
Commits on Jul 11, 2018
  1. Add note about connection string format (#107)

    mble authored and binarycleric committed Jul 11, 2018
    This commit adds a note to the README about the expected format for
    connection strings being passed as `PGBOUNCER_URLS`. Without this
    format being respected, the connection string will be unable to be
    parsed and unexpected errors may occur on connecting.
Commits on Jul 9, 2018
  1. Dropping stunnel tar (#108)

    binarycleric committed Jul 9, 2018
    We rely on native pgbouncer tls so we don't need to keep this package around.
Commits on May 21, 2018
Commits on Dec 15, 2017
  1. Adding env var to ignore startup params (#93)

    binarycleric committed Dec 15, 2017
    This should help to fix issues with go's pq driver.
Commits on Oct 2, 2017
  1. Adds bats tests and use-pgbouncer script (#91)

    gregburek committed Oct 2, 2017
    This is to support a new, in development, way of using pgbouncer on Heroku Postgres.
Commits on Aug 2, 2017
  1. Change pgbouncer config link (#90)

    nateberkopec authored and gregburek committed Aug 2, 2017
    The current one seems to just 404.
Commits on Jul 26, 2017
  1. Fix appending users.txt which broke in #83 (#89)

    gregburek committed Jul 26, 2017
    The users.txt file must be appended to as multiple postgres dbs in
    POSTGRES_URLS, we need to add all the creds to the users.txt file, not
    reset it for every entry in POSTGRES_URLS.
Commits on Mar 21, 2017
  1. Don't recommend master branch of Ruby buildpack (#84)

    schneems authored and gregburek committed Mar 21, 2017
    With `buildpacks:add` they don't need to specify a git url. THey can use `heroku/ruby` to get the deployed version.
Commits on Feb 27, 2017
  1. Add support for heroku-16 stack (#81)

    Timothée Peignier
    Timothée Peignier committed Feb 27, 2017
Commits on Dec 14, 2016
  1. Merge pull request #75 from heroku/ipv4

    gregburek committed Dec 14, 2016
    Force using ipv4 locally
Commits on Jul 20, 2016
  1. Force using ipv4 locally

    cyberdelia committed Jul 20, 2016
Commits on Jan 20, 2016
  1. Merge pull request #67 from heroku/updates

    gregburek committed Jan 20, 2016
    Various improvements
Commits on Jan 3, 2016
  1. Update changelog to v0.3.4

    gregburek committed Jan 3, 2016
  2. Preserve connection options at end of string with dbname

    gregburek committed Jan 3, 2016
    Appending connction options to the end of DATABASE_URL is discouraged,
    as it could just not be allowed by Heroku, if the config var is managed
    by an addon, like Heroku Postgres. It is not good to rely on this
    configuration method in other environments.
    
    However, d591f7f uncovered a bug in the parser regex, where the db name
    could land in $5 or $6 if there were connection options. As $5 was empty
    and the remaining parsing used whitespace as separators, DB_NAME was
    then passed on as the db name + connection options. As colons are now
    used as separators, this bug was noticed, but existing behavior where
    connection options are appended to the db name is preserved, as there
    could be an app out there that could have depended on this bug.
  3. Allow empty passwords for postgres DATABASE_URLs

    nickcatal authored and gregburek committed Dec 23, 2015
    With the previous `DATABASE_URL` parsing regex it was not possible to have a `DATABASE_URL` with no password. This change allows it.
    
    I had to switch from using spaces to delimate parts of the URL to using colons and `read`. Spaces wouldn't allow the previous splitting to work.
    
    See #64 for more details
  4. Remove s3 depedancy and vendor pgbouncer/stunnel into this repo

    gregburek committed Jan 2, 2016
    Thanks to @nickcatal and #66 for the
    nudge and better code formating for the build script.
Commits on Jan 2, 2016
Commits on Oct 19, 2015
  1. Fix multipack instructions

    dzuelke committed Oct 19, 2015
Commits on Sep 22, 2015
  1. Merge pull request #61 from realtymaps/master

    gregburek committed Sep 22, 2015
    config option for stunnel logging level
Commits on Sep 18, 2015
Commits on Aug 17, 2015
  1. Merge pull request #59 from realtymaps/master

    gregburek committed Aug 17, 2015
    corrected default values for logging settings