Skip to content

Commit 9cdbb1b

Browse files
committed
Disable pager for Win32 by default
1 parent 40ededb commit 9cdbb1b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bin/psql/startup.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@ main(int argc, char *argv[])
129129
/* We rely on unmentioned fields of pset.popt to start out 0/false/NULL */
130130
pset.popt.topt.format = PRINT_ALIGNED;
131131
pset.popt.topt.border = 1;
132+
#ifdef WIN32
133+
pset.popt.topt.pager = 0;
134+
#else
132135
pset.popt.topt.pager = 1;
136+
#endif
133137
pset.popt.topt.pager_min_lines = 0;
134138
pset.popt.topt.start_table = true;
135139
pset.popt.topt.stop_table = true;

0 commit comments

Comments
 (0)