Skip to content

Commit c3673c0

Browse files
committed
More run-time checking errors:
-Kurt
1 parent 60b1123 commit c3673c0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/backend/tcop/postgres.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.5 1996/08/06 16:43:41 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.6 1996/08/19 13:37:49 scrappy Exp $
1111
*
1212
* NOTES
1313
* this is the "main" module of the postgres backend and
@@ -560,14 +560,14 @@ pg_plan(char *query_string, /* string to execute */
560560
*/
561561

562562
void
563-
pg_eval(char *query_string, char *argv[], Oid *typev, int nargs)
563+
pg_eval(char *query_string, char **argv, Oid *typev, int nargs)
564564
{
565565
pg_eval_dest(query_string, argv, typev, nargs, whereToSendOutput);
566566
}
567567

568568
void
569569
pg_eval_dest(char *query_string, /* string to execute */
570-
char *argv[], /* arguments */
570+
char **argv, /* arguments */
571571
Oid *typev, /* argument types */
572572
int nargs, /* number of arguments */
573573
CommandDest dest) /* where results should go */
@@ -1227,7 +1227,7 @@ PostgresMain(int argc, char *argv[])
12271227
*/
12281228
if (IsUnderPostmaster == false) {
12291229
puts("\nPOSTGRES backend interactive interface");
1230-
puts("$Revision: 1.5 $ $Date: 1996/08/06 16:43:41 $");
1230+
puts("$Revision: 1.6 $ $Date: 1996/08/19 13:37:49 $");
12311231
}
12321232

12331233
/* ----------------

src/backend/tcop/tcopprot.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: tcopprot.h,v 1.1.1.1 1996/07/09 06:22:00 scrappy Exp $
9+
* $Id: tcopprot.h,v 1.2 1996/08/19 13:37:50 scrappy Exp $
1010
*
1111
* OLD COMMENTS
1212
* This file was created so that other c files could get the two
@@ -25,8 +25,8 @@
2525
#ifndef BOOTSTRAP_INCLUDE
2626
extern List *pg_plan(char *query_string, Oid *typev, int nargs,
2727
QueryTreeList **queryListP, CommandDest dest);
28-
extern void pg_eval(char *query_string, char *argv[], Oid *typev, int nargs);
29-
extern void pg_eval_dest(char *query_string, char *argv[], Oid *typev,
28+
extern void pg_eval(char *query_string, char **argv, Oid *typev, int nargs);
29+
extern void pg_eval_dest(char *query_string, char **argv, Oid *typev,
3030
int nargs, CommandDest dest);
3131
#endif /* BOOTSTRAP_HEADER */
3232

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy