Fix md5 auth broken in raw mode.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 5 Apr 2019 07:53:51 +0000 (16:53 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 5 Apr 2019 07:53:51 +0000 (16:53 +0900)
commit91b88ad4dc255474ec6777734dc9dc5aa468a8f6
tree5d2f32f7a1d9bca08e94c1ac32d9691693efdbcb
parent2c2345bdcb5b06021842202c7b640eb82568f7b2
Fix md5 auth broken in raw mode.

In raw mode, pool_passwd is not necessary to authenticate PostgreSQL
using md5 auth.  However if there's more than 1 backend,
authenticating with md5 fails.

Fix is, checking whether we are operating in raw mode while do md5
authentication. This was broken in 4.0, so back-patched to only 4.0.

Per bug 491.
src/auth/pool_auth.c