diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-07-27 02:55:23 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-27 02:55:23 +0000 |
commit | edb519b14c4d54daeb23ac6f06b9676a6d4bf702 (patch) | |
tree | d7f88bbd07bc1eeeae77b6044c9dd3e8ba20ff8b /src/bin/psql/psql.c | |
parent | 6e077b0ae5eadc0d797e489953acf04f2bf95849 (diff) | |
download | postgresql-edb519b14c4d54daeb23ac6f06b9676a6d4bf702.tar.gz postgresql-edb519b14c4d54daeb23ac6f06b9676a6d4bf702.zip |
and now, the long awaited PAGER patches from Bruce...
Submitted by: Bruce Momjian <maillist@candle.pha.pa.us>
Diffstat (limited to 'src/bin/psql/psql.c')
-rw-r--r-- | src/bin/psql/psql.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c index d8a24c433b9..4854050e339 100644 --- a/src/bin/psql/psql.c +++ b/src/bin/psql/psql.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.8 1996/07/27 02:40:45 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.9 1996/07/27 02:55:11 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -111,7 +111,7 @@ usage(char* progname) fprintf(stderr,"\t -S single line mode (i.e. query terminated by newline)\n"); fprintf(stderr,"\t -t turn off printing of attribute headers\n"); fprintf(stderr,"\t -T html set html3.0 table command options (cf. -H)\n"); - fprintf(stderr,"\t -x turn on expanded output (field names on left)"); + fprintf(stderr,"\t -x turn on expanded output (field names on left)\n"); exit(1); } @@ -1131,6 +1131,7 @@ main(int argc, char** argv) settings.opt.header = 1; settings.queryFout = stdout; settings.opt.fieldSep=dupstr(DEFAULT_FIELD_SEP); + settings.opt.pager = 1; if (!isatty(0) || !isatty(1)) settings.quiet = settings.notty = 1; else |