]> granicus.if.org Git - postgresql/commitdiff
More run-time checking errors:
authorMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 13:36:45 +0000 (13:36 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Mon, 19 Aug 1996 13:36:45 +0000 (13:36 +0000)
-Kurt

src/backend/tcop/postgres.c
src/backend/tcop/tcopprot.h

index dfb2532bf32a310b8bce8846909102211340d64b..5e3cfcb15b54dad2c81a1453747914ec95483873 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.4 1996/07/22 23:00:26 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.4.2.1 1996/08/19 13:36:43 scrappy Exp $
  *
  * NOTES
  *    this is the "main" module of the postgres backend and
@@ -556,14 +556,14 @@ pg_plan(char *query_string,       /* string to execute */
  */
 
 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);
 }
 
 void
 pg_eval_dest(char *query_string, /* string to execute */
-            char *argv[],      /* arguments */
+            char **argv,       /* arguments */
             Oid *typev,        /* argument types */
             int nargs,         /* number of arguments */
             CommandDest dest)  /* where results should go */
@@ -1223,7 +1223,7 @@ PostgresMain(int argc, char *argv[])
      */
     if (IsUnderPostmaster == false) {
        puts("\nPOSTGRES backend interactive interface");
-       puts("$Revision: 1.4 $ $Date: 1996/07/22 23:00:26 $");
+       puts("$Revision: 1.4.2.1 $ $Date: 1996/08/19 13:36:43 $");
     }
     
     /* ----------------
index 787bc0ed080560f5629f9bce7e925392f477e8f8..594ac5d920295f54927c96292776f1605403b2be 100644 (file)
@@ -6,7 +6,7 @@
  *
  * 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.1.1.1.2.1 1996/08/19 13:36:45 scrappy Exp $
  *
  * OLD COMMENTS
  *    This file was created so that other c files could get the two
@@ -25,8 +25,8 @@
 #ifndef BOOTSTRAP_INCLUDE
 extern List *pg_plan(char *query_string, Oid *typev, int nargs,
                     QueryTreeList **queryListP, CommandDest dest);
-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(char *query_string, char **argv, Oid *typev, int nargs);
+extern void pg_eval_dest(char *query_string, char **argv, Oid *typev,
                         int nargs, CommandDest dest);
 #endif /* BOOTSTRAP_HEADER */