Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Larry Rosenman <ler(at)lerctr(dot)org> writes:
>> It seems to be new with 7.4cvs. (dunno about earlier 7.4), but it definitely
>> did NOT happen with 7.3.x
> Hmph. There have been some changes in 7.4 psql's pager support, but I
> can't see anything there that looks like it would cause this.
Turns out someone moved PageOutput() from one file to another, and
didn't move all the supporting #includes. On your machine, TIOCGWINSZ
was coming up undefined, thus disabling the check for does-output-fit-
on-a-page.
regards, tom lane