aboutsummaryrefslogtreecommitdiff
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:39 -0400
commit455812da4820b21c938fac840c17e68d4ec856a9 (patch)
tree73b26c1e96ef2aceee52e26052aa57a8d07b8249
parente5bdaa127be617c7c4d49e1bb8960d002918f96d (diff)
downloadpostgresql-455812da4820b21c938fac840c17e68d4ec856a9.tar.gz
postgresql-455812da4820b21c938fac840c17e68d4ec856a9.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>
-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 4488d5913bf..07d3e6998e5 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -2943,7 +2943,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)
{