From 87c0e623ba14c2de376ca9af06fb21da7b2c2215 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 3 Oct 2000 03:11:26 +0000 Subject: New diff that now covers the entire tree. Applying this gets postgresql working on the VERY latest version of BeOS. I'm sure there will be alot of comments, but then if there weren't I'd be disappointed! Thanks for your continuing efforts to get this into your tree. Haven't bothered with the new files as they haven't changed. BTW Peter, the compiler is "broken" about the bool define and so on. I'm filing a bug report to try and get it addressed. Hopefully then we can tidy up the code a bit. I await the replies with interest :) David Reid --- src/backend/tcop/postgres.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 150423faafa..bddad9e4f6e 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.176 2000/10/02 19:42:53 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.177 2000/10/03 03:11:19 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1397,7 +1397,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.176 $ $Date: 2000/10/02 19:42:53 $\n"); + puts("$Revision: 1.177 $ $Date: 2000/10/03 03:11:19 $\n"); } /* @@ -1730,7 +1730,8 @@ ShowUsage(void) (long int) user.tv_usec, (long int) sys.tv_sec, (long int) sys.tv_usec); -#ifdef HAVE_GETRUSAGE +/* BeOS has rusage but only has some fields, and not these... */ +#if defined(HAVE_GETRUSAGE) && !defined(__BEOS__) fprintf(StatFp, "!\t%ld/%ld [%ld/%ld] filesystem blocks in/out\n", r.ru_inblock - Save_r.ru_inblock, -- cgit v1.2.3