88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.147 2003/09/05 02:08:36 momjian Exp $
11+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.148 2003/09/22 00:23:35 petere Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -668,7 +668,7 @@ PQsendQuery(PGconn *conn, const char *query)
668668
669669/*
670670 * PQsendQueryParams
671- * Like PQsendQuery, but use 3.0 protocol so we can pass parameters
671+ * Like PQsendQuery, but use protocol 3.0 so we can pass parameters
672672 */
673673int
674674PQsendQueryParams (PGconn * conn ,
@@ -704,7 +704,7 @@ PQsendQueryParams(PGconn *conn,
704704/*
705705 * PQsendQueryPrepared
706706 * Like PQsendQuery, but execute a previously prepared statement,
707- * using 3.0 protocol so we can pass parameters
707+ * using protocol 3.0 so we can pass parameters
708708 */
709709int
710710PQsendQueryPrepared (PGconn * conn ,
@@ -773,7 +773,7 @@ PQsendQueryStart(PGconn *conn)
773773
774774/*
775775 * PQsendQueryGuts
776- * Common code for 3.0-protocol query sending
776+ * Common code for protocol- 3.0 query sending
777777 * PQsendQueryStart should be done already
778778 *
779779 * command may be NULL to indicate we use an already-prepared statement
@@ -795,7 +795,7 @@ PQsendQueryGuts(PGconn *conn,
795795 if (PG_PROTOCOL_MAJOR (conn -> pversion ) < 3 )
796796 {
797797 printfPQExpBuffer (& conn -> errorMessage ,
798- libpq_gettext ("function requires at least 3.0 protocol \n" ));
798+ libpq_gettext ("function requires at least protocol version 3.0\n" ));
799799 return 0 ;
800800 }
801801
@@ -1131,7 +1131,7 @@ PQexec(PGconn *conn, const char *query)
11311131
11321132/*
11331133 * PQexecParams
1134- * Like PQexec, but use 3.0 protocol so we can pass parameters
1134+ * Like PQexec, but use protocol 3.0 so we can pass parameters
11351135 */
11361136PGresult *
11371137PQexecParams (PGconn * conn ,
@@ -1155,7 +1155,7 @@ PQexecParams(PGconn *conn,
11551155/*
11561156 * PQexecPrepared
11571157 * Like PQexec, but execute a previously prepared statement,
1158- * using 3.0 protocol so we can pass parameters
1158+ * using protocol 3.0 so we can pass parameters
11591159 */
11601160PGresult *
11611161PQexecPrepared (PGconn * conn ,
@@ -1429,7 +1429,7 @@ PQputCopyEnd(PGconn *conn, const char *errormsg)
14291429 {
14301430 /* Ooops, no way to do this in 2.0 */
14311431 printfPQExpBuffer (& conn -> errorMessage ,
1432- libpq_gettext ("function requires at least 3.0 protocol \n" ));
1432+ libpq_gettext ("function requires at least protocol version 3.0\n" ));
14331433 return -1 ;
14341434 }
14351435 else
@@ -1597,7 +1597,7 @@ PQputnbytes(PGconn *conn, const char *buffer, int nbytes)
15971597 * After completing the data transfer portion of a copy in/out,
15981598 * the application must call this routine to finish the command protocol.
15991599 *
1600- * When using 3.0 protocol this is deprecated; it's cleaner to use PQgetResult
1600+ * When using protocol 3.0 this is deprecated; it's cleaner to use PQgetResult
16011601 * to get the transfer status. Note however that when using 2.0 protocol,
16021602 * recovering from a copy failure often requires a PQreset. PQendcopy will
16031603 * take care of that, PQgetResult won't.
0 commit comments