PgBouncer is a lightweight external connection pooler that can be introduced between an application and a PostgreSQL database. It manages its own user authentication and has its own database for users, and uses auth_type options to authenticate users. This blog post explains PgBouncer auth_type trust and hba use cases with configuration examples and known issues. […]
14
2025
Configuring PgBouncer auth_type with Trust and HBA: Examples and Known Issues
12
2025
HAProxy-Patroni Setup Using Health Check Endpoints and Debugging
Patroni has a REST API that allows HAProxy and other kinds of load balancers to perform HTTP health checks. This blog post explains how HAProxy uses Health check endpoints with Patroni and how to debug the status issue. HAProxy and Patroni setup: Sample configuration: [crayon-67dc5ad8bfe99748452184/] [crayon-67dc5ad8bfea5138973971/] OPTIONS /primary: This is the primary health […]
13
2024
Solving pg_upgrade and lc_collate Mismatch Issues in PostgreSQL
Character collations determine the sort order and classification of characters. When creating a database with initdb, PostgreSQL normally sets the collation based on the operating system’s locale settings, but other special collations, such as “C,” “POSIX,” and “ucs_basic,” are available as alternatives. On Linux systems, updates to glibc can bring changes to collation rules. Normally, […]