aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-06-15 19:35:39 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-06-15 19:35:50 -0400
commit01384f7bd55f220107eca5f96986aaf98ec061af (patch)
treef056f497654478df750931cfb93fcb6a6a09cc1f /src/bin/psql/command.c
parentba6421808b61340a16df566beea0d6d81b10124c (diff)
downloadpostgresql-01384f7bd55f220107eca5f96986aaf98ec061af.tar.gz
postgresql-01384f7bd55f220107eca5f96986aaf98ec061af.zip
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>
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index fc02c66e1f4..d130d44abae 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -2805,7 +2805,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)
{