Fix psql to use pager when the screen size is smaller than the output
authorShigeru Hanada <hanada@metrosystems.co.jp>
Thu, 28 Oct 2010 07:32:52 +0000 (16:32 +0900)
committerShigeru Hanada <hanada@metrosystems.co.jp>
Thu, 28 Oct 2010 07:32:52 +0000 (16:32 +0900)
of \? help.

src/bin/psql/help.c

index c070b64ac50fad51795b7938b651ddd91dfe8f60..8ca8ec999f5ba54c7f1ef6e490488fa192cb9130 100644 (file)
@@ -158,7 +158,7 @@ slashUsage(unsigned short int pager)
 {
    FILE       *output;
 
-   output = PageOutput(90, pager);
+   output = PageOutput(91, pager);
 
    /* if you add/remove a line here, change the row count above */