projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f475fe3
)
Widen buffer for headers in psql's \watch command.
author
Tom Lane
<
[email protected]
>
Wed, 15 Jun 2016 23:35:39 +0000
(19:35 -0400)
committer
Tom Lane
<
[email protected]
>
Wed, 15 Jun 2016 23:36:01 +0000
(19:36 -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
[email protected]
>
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index 1c9d2d326b861629b70eaee68ca06e920dfda989..6a3d941e8021cd7256e96b99777e19f13483cc79 100644
(file)
--- a/
src/bin/psql/command.c
+++ b/
src/bin/psql/command.c
@@
-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)
{