diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-07-15 01:56:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-07-15 01:56:25 +0000 |
commit | 91dfa1af97b21a817ac4e4b5efdc510215c8774c (patch) | |
tree | 07e8e270884b99c2c61bf9f96f0951e11bc4bc39 /src/bin/psql/command.c | |
parent | d5fa19c6eeeeca1e6092344d8a83a2b9b0c8c7cb (diff) | |
download | postgresql-91dfa1af97b21a817ac4e4b5efdc510215c8774c.tar.gz postgresql-91dfa1af97b21a817ac4e4b5efdc510215c8774c.zip |
Fix \? and \pset pager handling. \? wasn't honoring pager before.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index eceecd7d26a..f28af37d931 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.72 2002/04/24 05:24:00 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.73 2002/07/15 01:56:25 momjian Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -846,7 +846,7 @@ exec_command(const char *cmd, /* \? -- slash command help */ else if (strcmp(cmd, "?") == 0) - slashUsage(); + slashUsage(pset.popt.topt.pager); #if 0 |