8000 Sam/pg bouncer upgrade by samrose · Pull Request #1572 · supabase/postgres · GitHub
[go: up one dir, main page]

Skip to content

Sam/pg bouncer upgrade #1572

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

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
chore: cleanup commit
  • Loading branch information
samrose committed Apr 28, 2025
commit 00e459437a6651802b9487d7822ae78e5c3f0174
45 changes: 1 addition & 44 deletions ansible/tasks/setup-pgbouncer.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,3 @@
# PgBouncer
# - name: PgBouncer - download & install dependencies
# apt:
# pkg:
# - build-essential
# - libssl-dev
# - pkg-config
# - libevent-dev
# - libsystemd-dev
# update_cache: yes
# cache_valid_time: 3600

# - name: PgBouncer - download latest release
# get_url:
# url: "https://www.pgbouncer.org/downloads/files/{{ pgbouncer_release }}/pgbouncer-{{ pgbouncer_release }}.tar.gz"
# dest: /tmp/pgbouncer-{{ pgbouncer_release }}.tar.gz
# checksum: "{{ pgbouncer_release_checksum }}"
# timeout: 60

# - name: PgBouncer - unpack archive
# unarchive:
# remote_src: yes
# src: /tmp/pgbouncer-{{ pgbouncer_release }}.tar.gz
# dest: /tmp
# become: yes

# - name: PgBouncer - configure
# shell:
# cmd: "./configure --prefix=/usr/local --with-systemd"
# chdir: /tmp/pgbouncer-{{ pgbouncer_release }}
# become: yes

# - name: PgBouncer - build
# make:
# chdir: /tmp/pgbouncer-{{ pgbouncer_release }}
# become: yes

# - name: PgBouncer - install
# make:
# chdir: /tmp/pgbouncer-{{ pgbouncer_release }}
# target: install
# become: yes

- name: Create pgbouncer user
user:
name: pgbouncer
Expand Down Expand Up @@ -151,4 +108,4 @@
- name: PgBouncer - reload systemd
systemd:
daemon_reload: yes
when: stage2_nix
when: stage2_nix
0