*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.28 1997/01/27 22:37:52 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.29 1997/02/03 04:43:31 scrappy Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
*/
if (IsUnderPostmaster == false) {
puts("\nPOSTGRES backend interactive interface");
- puts("$Revision: 1.28 $ $Date: 1997/01/27 22:37:52 $");
+ puts("$Revision: 1.29 $ $Date: 1997/02/03 04:43:31 $");
}
/* ----------------
}
#ifndef WIN32
-#ifdef NEED_RUSAGE
+#ifdef HAVE_RUSAGE
#include "rusagestub.h"
-#else /* NEED_RUSAGE */
+#else /* HAVE_RUSAGE */
#include <sys/resource.h>
-#endif /* NEED_RUSAGE */
+#endif /* HAVE_RUSAGE */
struct rusage Save_r;
struct timeval Save_t;
(long int) user.tv_usec,
(long int) sys.tv_sec,
(long int) sys.tv_usec);
-#ifndef NEED_RUSAGE
+#ifndef HAVE_RUSAGE
fprintf(StatFp,
"!\t%ld/%ld [%ld/%ld] filesystem blocks in/out\n",
r.ru_inblock - Save_r.ru_inblock,
r.ru_nvcsw - Save_r.ru_nvcsw,
r.ru_nivcsw - Save_r.ru_nivcsw,
r.ru_nvcsw, r.ru_nivcsw);
-#endif /* NEED_RUSAGE */
+#endif /* HAVE_RUSAGE */
fprintf(StatFp, "! postgres usage stats:\n");
PrintBufferUsage(StatFp);
/* DisplayTupleCount(StatFp); */