diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-06-15 19:35:39 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-06-15 19:36:01 -0400 |
commit | 832c3f9328949b31f9548a60c85a73f79fbe2d3f (patch) | |
tree | c503ef6e3abd2624e5d59a95311c38c787422c68 /src | |
parent | f475fe3538858650aaf55fcc20c3e71a74e0fd56 (diff) |
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')
-rw-r--r-- | src/bin/psql/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |