diff options
Diffstat (limited to 'src/bin/psql/print.h')
-rw-r--r-- | src/bin/psql/print.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h index 59c32830d22..bcb3495bc67 100644 --- a/src/bin/psql/print.h +++ b/src/bin/psql/print.h @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.12 2001/11/05 17:46:31 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/print.h,v 1.13 2002/07/15 01:56:25 momjian Exp $ */ #ifndef PRINT_H #define PRINT_H @@ -72,7 +72,12 @@ typedef struct _printQueryOpt * * It calls the printTable above with all the things set straight. */ -void - printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout); +void printQuery(const PGresult *result, const printQueryOpt *opt, FILE *fout); + +#ifndef __CYGWIN__ +#define DEFAULT_PAGER "more" +#else +#define DEFAULT_PAGER "less" +#endif #endif /* PRINT_H */ |