postgres.git / summary / log / commit / refs
commit 832c3f9328949b31f9548a60c85a73f79fbe2d3f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed Jun 15 23:35:39 2016 +0000
First released in: 9.3.14, 9.4.9, 9.5.4
Widen buffer for headers in psql's \watch command.
This is to make sure there's enough room for translated versions of
the message. HEAD's already addressed this issue, but back-patch a
simple increase in the array size.
Discussion: <20160612145532.GA22965@postgresql.kr>
src/bin/psql/command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 1c9d2d326b8..6a3d941e802 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -2615,7 +2615,7 @@ static bool
do_watch(PQExpBuffer query_buf, long sleep)
{
printQueryOpt myopt = pset.popt;
- char title[50];
+ char title[256];
if (!query_buf || query_buf->len <= 0)
{
[parent: f475fe353885]