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
a246e87d
Commit
a246e87d
authored
Jan 27, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
From: Keith Parks
parent
197c7f54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/backend/storage/file/fd.c
src/backend/storage/file/fd.c
+3
-3
src/include/config.h
src/include/config.h
+2
-0
No files found.
src/backend/storage/file/fd.c
View file @
a246e87d
...
...
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Id: fd.c,v 1.1
3 1997/01/13 01:25:29
scrappy Exp $
* $Id: fd.c,v 1.1
4 1997/01/27 00:09:43
scrappy Exp $
*
* NOTES:
*
...
...
@@ -196,7 +196,7 @@ pg_nofile(void)
static
long
no_files
=
0
;
if
(
no_files
==
0
)
{
#if
defined(MISSING_SYSCONF)
#if
ndef HAVE_SYSCONF
no_files
=
(
long
)
NOFILE
;
#else
no_files
=
sysconf
(
_SC_OPEN_MAX
);
...
...
@@ -204,7 +204,7 @@ pg_nofile(void)
elog
(
DEBUG
,
"pg_nofile: Unable to get _SC_OPEN_MAX using sysconf() using (%d)"
,
NOFILE
);
no_files
=
(
long
)
NOFILE
;
}
#endif
/* MISSING_SYSCONF */
#endif
}
if
((
no_files
-
RESERVE_FOR_LD
)
<
FD_MINFREE
)
...
...
src/include/config.h
View file @
a246e87d
...
...
@@ -35,6 +35,7 @@
#define HAVE_CBRT
#define HAVE_RINT
#define HAVE_GETRUSAGE
#define HAVE_SYSCONF
#if defined(aix)
# undef HAVE_SYS_SELECT_H
...
...
@@ -151,6 +152,7 @@
#endif
#if defined(nextstep)
# undef HAVE_SYSCONF
# undef HAVE_VALUES_H
# include <sys/ioctl.h>
# if defined(__STRICT_ANSI__)
...
...
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