mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03: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
e5bdaa127b
commit
455812da48
@ -2943,7 +2943,7 @@ static bool
|
|||||||
do_watch(PQExpBuffer query_buf, long sleep)
|
do_watch(PQExpBuffer query_buf, long sleep)
|
||||||
{
|
{
|
||||||
printQueryOpt myopt = pset.popt;
|
printQueryOpt myopt = pset.popt;
|
||||||
char title[50];
|
char title[256];
|
||||||
|
|
||||||
if (!query_buf || query_buf->len <= 0)
|
if (!query_buf || query_buf->len <= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user