Skip to content

Commit 832c3f9

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 f475fe3 commit 832c3f9

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
@@ -2615,7 +2615,7 @@ static bool
26152615
do_watch(PQExpBuffer query_buf, long sleep)
26162616
{
26172617
printQueryOpt myopt = pset.popt;
2618-
char title[50];
2618+
char title[256];
26192619

26202620
if (!query_buf || query_buf->len <= 0)
26212621
{

0 commit comments

Comments
 (0)