7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.31 1997/02/14 04:17:21 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.32 1997/04/23 18:02:43 scrappy Exp $
11
11
*
12
12
* NOTES
13
13
* this is the "main" module of the postgres backend and
@@ -1270,7 +1270,7 @@ PostgresMain(int argc, char *argv[])
1270
1270
*/
1271
1271
if (IsUnderPostmaster == false) {
1272
1272
puts ("\nPOSTGRES backend interactive interface" );
1273
- puts ("$Revision: 1.31 $ $Date: 1997/02/14 04:17:21 $" );
1273
+ puts ("$Revision: 1.32 $ $Date: 1997/04/23 18:02:43 $" );
1274
1274
}
1275
1275
1276
1276
/* ----------------
@@ -1467,11 +1467,11 @@ PostgresMain(int argc, char *argv[])
1467
1467
return 1 ;
1468
1468
}
1469
1469
1470
- #ifdef HAVE_RUSAGE
1470
+ #ifdef HAVE_GETRUSAGE
1471
1471
#include "rusagestub.h"
1472
- #else /* HAVE_RUSAGE */
1472
+ #else /* HAVE_GETRUSAGE */
1473
1473
#include <sys/resource.h>
1474
- #endif /* HAVE_RUSAGE */
1474
+ #endif /* HAVE_GETRUSAGE */
1475
1475
1476
1476
struct rusage Save_r ;
1477
1477
struct timeval Save_t ;
@@ -1535,7 +1535,7 @@ ShowUsage(void)
1535
1535
(long int ) user .tv_usec ,
1536
1536
(long int ) sys .tv_sec ,
1537
1537
(long int ) sys .tv_usec );
1538
- #ifndef HAVE_RUSAGE
1538
+ #ifndef HAVE_GETRUSAGE
1539
1539
fprintf (StatFp ,
1540
1540
"!\t%ld/%ld [%ld/%ld] filesystem blocks in/out\n" ,
1541
1541
r .ru_inblock - Save_r .ru_inblock ,
@@ -1561,7 +1561,7 @@ ShowUsage(void)
1561
1561
r .ru_nvcsw - Save_r .ru_nvcsw ,
1562
1562
r .ru_nivcsw - Save_r .ru_nivcsw ,
1563
1563
r .ru_nvcsw , r .ru_nivcsw );
1564
- #endif /* HAVE_RUSAGE */
1564
+ #endif /* HAVE_GETRUSAGE */
1565
1565
fprintf (StatFp , "! postgres usage stats:\n" );
1566
1566
PrintBufferUsage (StatFp );
1567
1567
/* DisplayTupleCount(StatFp); */
0 commit comments