Skip to content

Commit 455812d

Browse files
committed
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>
1 parent e5bdaa1 commit 455812d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2943,7 +2943,7 @@ static bool
29432943
do_watch(PQExpBuffer query_buf, long sleep)
29442944
{
29452945
printQueryOpt myopt = pset.popt;
2946-
char title[50];
2946+
char title[256];
29472947

29482948
if (!query_buf || query_buf->len <= 0)
29492949
{

0 commit comments

Comments
 (0)