Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5bdaa1
)
Widen buffer for headers in psql's \watch command.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Wed, 15 Jun 2016 23:35:39 +0000
(19:35 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Wed, 15 Jun 2016 23:35:39 +0000
(19:35 -0400)
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>
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index 4488d5913bfc7213ea96cf3d7a38155289627b4a..07d3e6998e5e8de2000dc46ef295d288ee7c8880 100644
(file)
--- a/
src/bin/psql/command.c
+++ b/
src/bin/psql/command.c
@@
-2943,7
+2943,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)
{