pgsql: The correct min buffer size is INITIAL_EXPBUFFER_SIZE, not

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: The correct min buffer size is INITIAL_EXPBUFFER_SIZE, not
Date: 2007-07-23 18:13:10
Message-ID: 20070723181310.1A4589FA1C0@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
The correct min buffer size is
INITIAL_EXPBUFFER_SIZE, not PQERRORMSG_LENGTH.

Backpatch only, the proper fix in HEAD is
to use PQExpBuffers everywhere.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/interfaces/libpq:
fe-auth.c (r1.121.2.1 -> r1.121.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-auth.c.diff?r1=1.121.2.1&r2=1.121.2.2)
fe-connect.c (r1.339.2.1 -> r1.339.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.339.2.1&r2=1.339.2.2)
libpq-int.h (r1.116 -> r1.116.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/libpq-int.h.diff?r1=1.116&r2=1.116.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-07-23 18:59:50 pgsql: Just noticed that libpq thinks the maximum command tag length is
Previous Message Magnus Hagander 2007-07-23 18:13:03 pgsql: The correct min buffer size is INITIAL_EXPBUFFER_SIZE, not