From c3673c0345a242cd05164319415cc8dc672cce80 Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 19 Aug 1996 13:37:50 +0000 Subject: [PATCH] More run-time checking errors: -Kurt --- src/backend/tcop/postgres.c | 8 ++++---- src/backend/tcop/tcopprot.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index b9ed53d2c0..22e2a02a62 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.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 * this is the "main" module of the postgres backend and @@ -560,14 +560,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 */ @@ -1227,7 +1227,7 @@ PostgresMain(int argc, char *argv[]) */ if (IsUnderPostmaster == false) { 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 $"); } /* ---------------- diff --git a/src/backend/tcop/tcopprot.h b/src/backend/tcop/tcopprot.h index 787bc0ed08..faf8241436 100644 --- a/src/backend/tcop/tcopprot.h +++ b/src/backend/tcop/tcopprot.h @@ -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.2 1996/08/19 13:37:50 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 */