aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-16 05:23:30 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-16 05:23:30 +0000
commit69817665cb99e8acc85569ee9c61a09d5f5e1658 (patch)
tree41817c5ac35433e422e960b27867cc98eb937e79 /src/backend/tcop/postgres.c
parentba42b689774cbb20eb5f8c57b3b53c561c934845 (diff)
downloadpostgresql-69817665cb99e8acc85569ee9c61a09d5f5e1658.tar.gz
postgresql-69817665cb99e8acc85569ee9c61a09d5f5e1658.zip
Final cleanup
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 73f7c943e58..777641477ee 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.123 1999/07/16 04:59:53 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.124 1999/07/16 05:23:18 momjian Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -42,6 +42,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#ifdef __CYGWIN32__
+#include <getopt.h>
#endif
#include "commands/async.h"
@@ -1495,7 +1496,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.123 $ $Date: 1999/07/16 04:59:53 $\n");
+ puts("$Revision: 1.124 $ $Date: 1999/07/16 05:23:18 $\n");
}
/* ----------------
@@ -1660,7 +1661,8 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
}
#ifndef HAVE_GETRUSAGE
-#else /* HAVE_GETRUSAGE */
+#include "rusagestub.h"
+#else
#include <sys/resource.h>
#endif /* HAVE_GETRUSAGE */