anchor.diff:                  fi \
                   && if [ $version != "9.3" ]; then \
                       EXTRAS="$EXTRAS \
  -                            postgresql-${version}-partman \
                               postgresql-${version}-pglogical \
                               postgresql-${version}-postgis-${POSTGIS_VERSION} \
                               postgresql-${version}-postgis-${POSTGIS_VERSION}-scripts \
  
positive.code:     && apt-get install -y skytools3-ticker pspg \
  \
      && if [ "$DEMO" != "true" ]; then \
          # patch, build and install pgbouncer
          apt-get source pgbouncer \
          && cd $(ls -d pgbouncer-*) \
          # Enable pam authentication support via HBA
          && curl -sL https://github.com/pgbouncer/pgbouncer/pull/326.diff \
  
negative.code:         # https://github.com/wal-e/wal-e/pull/392
          && curl -sL https://github.com/wal-e/wal-e/pull/392.diff | patch -p1 \
  \
          && echo 4.1.1.dev0 > supervisor/version.txt; \
      fi \
      && pip3 install "patroni[kubernetes$EXTRAS]==$PATRONIVERSION" \
  \
  