Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
60265ee6
Commit
60265ee6
authored
28 years ago
by
Marc G. Fournier
Browse files
Options
Downloads
Patches
Plain Diff
Switch over NEED_RUSAGE to HAVE_RUSAGE for configure
parent
970e3f69
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/commands/async.c
+3
-3
3 additions, 3 deletions
src/backend/commands/async.c
src/backend/commands/vacuum.c
+4
-4
4 additions, 4 deletions
src/backend/commands/vacuum.c
src/include/config.h
+4
-3
4 additions, 3 deletions
src/include/config.h
with
11 additions
and
10 deletions
src/backend/commands/async.c
+
3
−
3
View file @
60265ee6
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.1
1
1997/01/
08 08:31:07 bryanh
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.1
2
1997/01/
24 23:48:25 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -290,13 +290,13 @@ Async_NotifyAtCommit()
#ifdef ASYNC_DEBUG
elog
(
DEBUG
,
"Notifying others"
);
#endif
#if
n
def
win32
#ifdef
HAVE_KILL
if
(
kill
(
DatumGetInt32
(
d
),
SIGUSR2
)
<
0
)
{
if
(
errno
==
ESRCH
)
{
heap_delete
(
lRel
,
&
lTuple
->
t_ctid
);
}
}
#endif
/* win32 */
#endif
}
}
ReleaseBuffer
(
b
);
...
...
This diff is collapsed.
Click to expand it.
src/backend/commands/vacuum.c
+
4
−
4
View file @
60265ee6
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.1
5
1997/01/2
2 01:42:16 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.1
6
1997/01/2
4 23:48:27 scrappy
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -40,12 +40,12 @@
#include
<commands/vacuum.h>
#include
<storage/bufpage.h>
#include
"storage/shmem.h"
#ifdef
NEED
_RUSAGE
#if
n
def
HAVE
_RUSAGE
# include <rusagestub.h>
#else
/* NEED_RUSAGE */
#else
# include <sys/time.h>
# include <sys/resource.h>
#endif
/* NEED_RUSAGE */
#endif
bool
VacuumRunning
=
false
;
static
int
MESSLEV
;
/* message level */
...
...
This diff is collapsed.
Click to expand it.
src/include/config.h
+
4
−
3
View file @
60265ee6
...
...
@@ -18,6 +18,7 @@
#define HAVE_ISINF
#define HAVE_CBRT
#define HAVE_RINT
#define HAVE_RUSAGE
#if defined(aix)
# undef HAVE_SYS_SELECT_H
...
...
@@ -95,7 +96,7 @@
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# undef HAVE_ISINF
# def
ine NEED
_RUSAGE
#
un
def
HAVE
_RUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET
# define NEED_UNION_SEMUN
...
...
@@ -167,7 +168,7 @@
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# undef HAVE_ISINF
# def
ine NEED
_RUSAGE
#
un
def
HAVE
_RUSAGE
# define NO_EMPTY_STMTS
# define USE_POSIX_TIME
# define HAVE_TZSET
...
...
@@ -186,7 +187,7 @@ typedef unsigned char slock_t;
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
# undef HAVE_ISINF
# def
ine NEED
_RUSAGE
#
un
def
HAVE
_RUSAGE
# define NO_EMPTY_STMTS
# define HAVE_TZSET
# define NEED_UNION_SEMUN
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment