mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
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
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user