Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a23c6415
Commit
a23c6415
authored
Jul 30, 2009
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure FD_SETSIZE is set before we include any Windows
header files. Josh Williams
parent
060baf27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
contrib/pgbench/pgbench.c
contrib/pgbench/pgbench.c
+6
-3
No files found.
contrib/pgbench/pgbench.c
View file @
a23c6415
...
...
@@ -4,7 +4,7 @@
* A simple benchmark program for PostgreSQL
* Originally written by Tatsuo Ishii and enhanced by many contributors.
*
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.8
7 2009/06/11 14:48:51 momjian
Exp $
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.8
8 2009/07/30 09:28:00 mha
Exp $
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
* ALL RIGHTS RESERVED;
*
...
...
@@ -26,6 +26,11 @@
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
*/
#ifdef WIN32
#define FD_SETSIZE 1024
/* set before winsock2.h is included */
#endif
/* ! WIN32 */
#include "postgres_fe.h"
#include "libpq-fe.h"
...
...
@@ -34,8 +39,6 @@
#include <ctype.h>
#ifdef WIN32
#undef FD_SETSIZE
#define FD_SETSIZE 1024
#include <win32.h>
#else
#include <signal.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment