From b3503f1aa025157acf59d29ca0a84f65bb9cfdfd Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Mon, 16 Oct 2023 13:02:37 +0100 Subject: [PATCH 1/2] Update pgbouncer to 1.21.0 --- neonvm/tools/vm-builder/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neonvm/tools/vm-builder/main.go b/neonvm/tools/vm-builder/main.go index ca47908ec..3eb583afc 100644 --- a/neonvm/tools/vm-builder/main.go +++ b/neonvm/tools/vm-builder/main.go @@ -74,8 +74,8 @@ RUN set -e \ libevent-dev \ libssl-dev -ENV PGBOUNCER_VERSION 1.18.0 -ENV PGBOUNCER_GITPATH 1_18_0 +ENV PGBOUNCER_VERSION 1.21.0 +ENV PGBOUNCER_GITPATH 1_21_0 RUN set -e \ && curl -sfSL https://github.com/pgbouncer/pgbouncer/releases/download/pgbouncer_${PGBOUNCER_GITPATH}/pgbouncer-${PGBOUNCER_VERSION}.tar.gz -o pgbouncer-${PGBOUNCER_VERSION}.tar.gz \ && tar xzvf pgbouncer-${PGBOUNCER_VERSION}.tar.gz \ From c295cd9932140281dea2fc83ede76d0a76340bd7 Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Mon, 16 Oct 2023 13:06:39 +0100 Subject: [PATCH 2/2] pgbouncer: enable prepared statements support --- neonvm/tools/vm-builder/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/neonvm/tools/vm-builder/main.go b/neonvm/tools/vm-builder/main.go index 3eb583afc..fea71a501 100644 --- a/neonvm/tools/vm-builder/main.go +++ b/neonvm/tools/vm-builder/main.go @@ -375,6 +375,7 @@ server_tls_sslmode=disable pool_mode=transaction max_client_conn=10000 default_pool_size=16 +max_prepared_statements=100 ` )