aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/libpq-fe.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-09 20:01:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-09 20:01:16 +0000
commit3ace84594e3626f12caddfe3a2efed1a2e2982ee (patch)
tree314ee8ba8ea0c80166533904bf456cd9ccf9ac31 /src/interfaces/libpq/libpq-fe.h
parent0b8e46e49b6236b64744659afe43a74c46042951 (diff)
downloadpostgresql-3ace84594e3626f12caddfe3a2efed1a2e2982ee.tar.gz
postgresql-3ace84594e3626f12caddfe3a2efed1a2e2982ee.zip
Defend against omitted paramLengths[] array in PQsendQueryParams.
Per Volkan Yazici.
Diffstat (limited to 'src/interfaces/libpq/libpq-fe.h')
-rw-r--r--src/interfaces/libpq/libpq-fe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h
index f7f379748b4..8976d45e258 100644
--- a/src/interfaces/libpq/libpq-fe.h
+++ b/src/interfaces/libpq/libpq-fe.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.116 2004/12/31 22:03:50 pgsql Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-fe.h,v 1.117 2005/06/09 20:01:16 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -156,7 +156,7 @@ typedef struct _PQprintOpt
char *fieldSep; /* field separator */
char *tableOpt; /* insert to HTML <table ...> */
char *caption; /* HTML <caption> */
- char **fieldName; /* null terminated array of repalcement
+ char **fieldName; /* null terminated array of replacement
* field names */
} PQprintOpt;