diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-10-23 19:23:57 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-10-23 19:23:57 +0000 |
commit | 641b658c26f927bf59d38ecba9c8ab45544a2816 (patch) | |
tree | 0567c4c9acb11ee82a3d29ae52010d2afcb2f624 /src/bin/psql/command.c | |
parent | 30963fc20009b98a7a2b2dcd1f2ec559d58ac6d5 (diff) | |
download | postgresql-641b658c26f927bf59d38ecba9c8ab45544a2816.tar.gz postgresql-641b658c26f927bf59d38ecba9c8ab45544a2816.zip |
Page \h output and centralize psql paging code in PageOutput().
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 963c3aed3b1..83ce799e51c 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright 2000-2002 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.83 2002/10/15 02:24:15 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.84 2002/10/23 19:23:56 momjian Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -493,7 +493,8 @@ exec_command(const char *cmd, /* help */ else if (strcmp(cmd, "h") == 0 || strcmp(cmd, "help") == 0) { - helpSQL(options_string ? &options_string[strspn(options_string, " \t\n\r")] : NULL); + helpSQL(options_string ? &options_string[strspn(options_string, " \t\n\r")] : NULL, + pset.popt.topt.pager); /* set pointer to end of line */ if (string) string += strlen(string); |