Debian Patches

Status for pgpool2/4.6.1-2

Patch Description Author Forwarded Bugs Origin Last update
pgpool2-debian-config.patch pgpool2 debian config Marco Nenciarini <mnencia@debian.org> no 2016-02-24
sbin-paths pgpool_setup + pg_md5 pathhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877851 no
bac455b2f510ad90bd35df0a98f6bfdf70d2cb55 commit bac455b2f510ad90bd35df0a98f6bfdf70d2cb55

Fix broken scram-sha-256 authentication on big-endian machies.

When scram-sha-256 authentication is performed, a hash function
pg_sha_256_final is used. It was imported from PostgreSQL and it uses
preprocessor define WORDS_BIGENDIAN to judge host machine's
endianness. Although WORDS_BIGENDIAN should be defined while
configure, this part was missed when pg_sha_256_final (and others) was
imported from PostgreSQL. As a result, scram-sha-256 worked only in
little endian machines. This commit fixes the issue by adding
AC_C_BIGENDIAN macro to configure.ac.

Author: Tatsuo Ishii
Reported-by: Christoph Berg
Reviewed-by: pranavkaruvally
Discussion: https://github.com/pgpool/pgpool2/issues/106
Backpatch-through: v4.2

diff --git a/configure.ac b/configure.ac
index 7ea0b29a7..d5f21480c 100644
Bo Peng <pengbo@sraoss.co.jp> no 2025-06-30

All known versions for source package 'pgpool2'

Links