[HACKERS] use of pager on Windows psql

2008-05-17 Thread Andrew Dunstan
psql's print.c contains this piece of code: /* * PageOutput * * Tests if pager is needed and returns appropriate FILE pointer. */ FILE * PageOutput(int lines, unsigned short int pager) { /* check whether we need / can / are supposed to use pager */ if (pager #ifndef WIN32

Re: [HACKERS] use of pager on Windows psql

2008-05-17 Thread Bruce Momjian
Andrew Dunstan wrote: psql's print.c contains this piece of code: /* * PageOutput * * Tests if pager is needed and returns appropriate FILE pointer. */ FILE * PageOutput(int lines, unsigned short int pager) { /* check whether we need / can / are supposed to use pager */

Re: [HACKERS] use of pager on Windows psql

2008-05-17 Thread Andrew Dunstan
Bruce Momjian wrote: Andrew Dunstan wrote: psql's print.c contains this piece of code: /* * PageOutput * * Tests if pager is needed and returns appropriate FILE pointer. */ FILE * PageOutput(int lines, unsigned short int pager) { /* check whether we need / can / are supposed to