From: Tom Lane Date: Fri, 5 Apr 2013 00:29:46 +0000 (-0400) Subject: Fix line count in slashUsage(). X-Git-Tag: REL9_3_BETA1~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=927e1dc96ce3eb4a618fd7b67f69eec72b56d850;p=thirdparty%2Fpostgresql.git 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. --- 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 */