File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.11 1997/01/08 08:31:07 bryanh Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.12 1997/01/24 23:48:25 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -290,13 +290,13 @@ Async_NotifyAtCommit()
290
290
#ifdef ASYNC_DEBUG
291
291
elog (DEBUG , "Notifying others" );
292
292
#endif
293
- #ifndef win32
293
+ #ifdef HAVE_KILL
294
294
if (kill (DatumGetInt32 (d ), SIGUSR2 ) < 0 ) {
295
295
if (errno == ESRCH ) {
296
296
heap_delete (lRel , & lTuple -> t_ctid );
297
297
}
298
298
}
299
- #endif /* win32 */
299
+ #endif
300
300
}
301
301
}
302
302
ReleaseBuffer (b );
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.15 1997/01/22 01:42:16 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.16 1997/01/24 23:48:27 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
40
40
#include <commands/vacuum.h>
41
41
#include <storage/bufpage.h>
42
42
#include "storage/shmem.h"
43
- #ifdef NEED_RUSAGE
43
+ #ifndef HAVE_RUSAGE
44
44
# include <rusagestub.h>
45
- #else /* NEED_RUSAGE */
45
+ #else
46
46
# include <sys/time.h>
47
47
# include <sys/resource.h>
48
- #endif /* NEED_RUSAGE */
48
+ #endif
49
49
50
50
bool VacuumRunning = false;
51
51
static int MESSLEV ; /* message level */
Original file line number Diff line number Diff line change 18
18
#define HAVE_ISINF
19
19
#define HAVE_CBRT
20
20
#define HAVE_RINT
21
+ #define HAVE_RUSAGE
21
22
22
23
#if defined(aix )
23
24
# undef HAVE_SYS_SELECT_H
95
96
# define USE_POSIX_TIME
96
97
# define USE_POSIX_SIGNALS
97
98
# undef HAVE_ISINF
98
- # define NEED_RUSAGE
99
+ # undef HAVE_RUSAGE
99
100
# define NO_EMPTY_STMTS
100
101
# define HAVE_TZSET
101
102
# define NEED_UNION_SEMUN
167
168
# define USE_POSIX_TIME
168
169
# define USE_POSIX_SIGNALS
169
170
# undef HAVE_ISINF
170
- # define NEED_RUSAGE
171
+ # undef HAVE_RUSAGE
171
172
# define NO_EMPTY_STMTS
172
173
# define USE_POSIX_TIME
173
174
# define HAVE_TZSET
@@ -186,7 +187,7 @@ typedef unsigned char slock_t;
186
187
# define USE_POSIX_TIME
187
188
# define USE_POSIX_SIGNALS
188
189
# undef HAVE_ISINF
189
- # define NEED_RUSAGE
190
+ # undef HAVE_RUSAGE
190
191
# define NO_EMPTY_STMTS
191
192
# define HAVE_TZSET
192
193
# define NEED_UNION_SEMUN
You can’t perform that action at this time.
0 commit comments