mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
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>
This commit is contained in:
parent
f475fe3538
commit
832c3f9328
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user