Commit c3673c03 authored by Marc G. Fournier's avatar Marc G. Fournier

More run-time checking errors:

-Kurt
parent 60b1123f
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.5 1996/08/06 16:43:41 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.6 1996/08/19 13:37:49 scrappy Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -560,14 +560,14 @@ pg_plan(char *query_string, /* string to execute */ ...@@ -560,14 +560,14 @@ pg_plan(char *query_string, /* string to execute */
*/ */
void void
pg_eval(char *query_string, char *argv[], Oid *typev, int nargs) pg_eval(char *query_string, char **argv, Oid *typev, int nargs)
{ {
pg_eval_dest(query_string, argv, typev, nargs, whereToSendOutput); pg_eval_dest(query_string, argv, typev, nargs, whereToSendOutput);
} }
void void
pg_eval_dest(char *query_string, /* string to execute */ pg_eval_dest(char *query_string, /* string to execute */
char *argv[], /* arguments */ char **argv, /* arguments */
Oid *typev, /* argument types */ Oid *typev, /* argument types */
int nargs, /* number of arguments */ int nargs, /* number of arguments */
CommandDest dest) /* where results should go */ CommandDest dest) /* where results should go */
...@@ -1227,7 +1227,7 @@ PostgresMain(int argc, char *argv[]) ...@@ -1227,7 +1227,7 @@ PostgresMain(int argc, char *argv[])
*/ */
if (IsUnderPostmaster == false) { if (IsUnderPostmaster == false) {
puts("\nPOSTGRES backend interactive interface"); puts("\nPOSTGRES backend interactive interface");
puts("$Revision: 1.5 $ $Date: 1996/08/06 16:43:41 $"); puts("$Revision: 1.6 $ $Date: 1996/08/19 13:37:49 $");
} }
/* ---------------- /* ----------------
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: tcopprot.h,v 1.1.1.1 1996/07/09 06:22:00 scrappy Exp $ * $Id: tcopprot.h,v 1.2 1996/08/19 13:37:50 scrappy Exp $
* *
* OLD COMMENTS * OLD COMMENTS
* This file was created so that other c files could get the two * This file was created so that other c files could get the two
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
#ifndef BOOTSTRAP_INCLUDE #ifndef BOOTSTRAP_INCLUDE
extern List *pg_plan(char *query_string, Oid *typev, int nargs, extern List *pg_plan(char *query_string, Oid *typev, int nargs,
QueryTreeList **queryListP, CommandDest dest); QueryTreeList **queryListP, CommandDest dest);
extern void pg_eval(char *query_string, char *argv[], Oid *typev, int nargs); extern void pg_eval(char *query_string, char **argv, Oid *typev, int nargs);
extern void pg_eval_dest(char *query_string, char *argv[], Oid *typev, extern void pg_eval_dest(char *query_string, char **argv, Oid *typev,
int nargs, CommandDest dest); int nargs, CommandDest dest);
#endif /* BOOTSTRAP_HEADER */ #endif /* BOOTSTRAP_HEADER */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment