Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit37e8621

Browse files
committed
The check should be for getrusage(), not rusage() ... change the defines
to reflect what configure is going to define when the time comes
1 parent378a2c1 commit37e8621

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎src/backend/commands/vacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.16 1997/01/24 23:48:27 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.17 1997/01/25 19:29:36 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -40,7 +40,7 @@
4040
#include<commands/vacuum.h>
4141
#include<storage/bufpage.h>
4242
#include"storage/shmem.h"
43-
#ifndefHAVE_RUSAGE
43+
#ifndefHAVE_GETRUSAGE
4444
# include<rusagestub.h>
4545
#else
4646
# include<sys/time.h>

‎src/include/config.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#defineBLCKSZ8192
1010

1111
/* Define to enable readline/history support in psql */
12-
/* #undef HAVE_LIBREADLINE*/
12+
#defineHAVE_LIBREADLINE
1313

1414
/* These two defines are not used until HAVE_LIBREADLINE
1515
* are also defined
@@ -29,7 +29,7 @@
2929
#defineHAVE_ISINF
3030
#defineHAVE_CBRT
3131
#defineHAVE_RINT
32-
#defineHAVE_RUSAGE
32+
#defineHAVE_GETRUSAGE
3333

3434
#if defined(aix)
3535
# undef HAVE_SYS_SELECT_H
@@ -107,7 +107,7 @@
107107
# defineUSE_POSIX_TIME
108108
# define USE_POSIX_SIGNALS
109109
# undef HAVE_ISINF
110-
# undefHAVE_RUSAGE
110+
# undefHAVE_GETRUSAGE
111111
# defineNO_EMPTY_STMTS
112112
# defineHAVE_TZSET
113113
# defineNEED_UNION_SEMUN
@@ -179,7 +179,7 @@
179179
# defineUSE_POSIX_TIME
180180
# define USE_POSIX_SIGNALS
181181
# undef HAVE_ISINF
182-
# undefHAVE_RUSAGE
182+
# undefHAVE_GETRUSAGE
183183
# defineNO_EMPTY_STMTS
184184
# defineUSE_POSIX_TIME
185185
# defineHAVE_TZSET
@@ -198,7 +198,7 @@ typedef unsigned char slock_t;
198198
# defineUSE_POSIX_TIME
199199
# define USE_POSIX_SIGNALS
200200
# undef HAVE_ISINF
201-
# undefHAVE_RUSAGE
201+
# undefHAVE_GETRUSAGE
202202
# defineNO_EMPTY_STMTS
203203
# defineHAVE_TZSET
204204
# defineNEED_UNION_SEMUN

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp