The correct min buffer size is
authorMagnus Hagander <magnus@hagander.net>
Mon, 23 Jul 2007 18:12:56 +0000 (18:12 +0000)
committerMagnus Hagander <magnus@hagander.net>
Mon, 23 Jul 2007 18:12:56 +0000 (18:12 +0000)
commit7307430752db554246bce3674cdeda3f87b6e81a
tree5b0866e84b0cf0f89a07413e86e1eb6c8a037f23
parente8cb4f718b52f6a602214100239fd0300e3b011a
The correct min buffer size is
INITIAL_EXPBUFFER_SIZE, not PQERRORMSG_LENGTH.

Backpatch only, the proper fix in HEAD is
to use PQExpBuffers everywhere.
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/libpq-int.h