postgres.git / summary / log / commit / refs
commit 927e1dc96ce3eb4a618fd7b67f69eec72b56d850
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri Apr 05 00:29:46 2013 +0000
First released in: 9.3.0
Fix line count in slashUsage().
Counting newlines shows that quite a few recent patches have neglected
to update the output-lines count given to PageOutput(). Fortunately
it's not terribly critical that this be exact, since we long since
exceeded the height of most people's terminal windows. Still, maybe
we ought to think of a way to not have to maintain this manually anymore.
src/bin/psql/help.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 3c7442a0733..379deada4fe 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -165,7 +165,7 @@ slashUsage(unsigned short int pager)
currdb = PQdb(pset.db);
- output = PageOutput(96, pager);
+ output = PageOutput(103, pager);
/* if you add/remove a line here, change the row count above */
[parent: c6a3fce7dd4d]