Skip to content

Commit 333c3b4

Browse files
committed
Disable pager for Win32 by default
1 parent 3cc5730 commit 333c3b4

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
@@ -143,7 +143,11 @@ main(int argc, char *argv[])
143143
/* We rely on unmentioned fields of pset.popt to start out 0/false/NULL */
144144
pset.popt.topt.format = PRINT_ALIGNED;
145145
pset.popt.topt.border = 1;
146+
#ifdef WIN32
147+
pset.popt.topt.pager = 0;
148+
#else
146149
pset.popt.topt.pager = 1;
150+
#endif
147151
pset.popt.topt.pager_min_lines = 0;
148152
pset.popt.topt.start_table = true;
149153
pset.popt.topt.stop_table = true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy