8
8
*
9
9
*
10
10
* 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 $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -668,7 +668,7 @@ PQsendQuery(PGconn *conn, const char *query)
668
668
669
669
/*
670
670
* 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
672
672
*/
673
673
int
674
674
PQsendQueryParams (PGconn * conn ,
@@ -704,7 +704,7 @@ PQsendQueryParams(PGconn *conn,
704
704
/*
705
705
* PQsendQueryPrepared
706
706
* 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
708
708
*/
709
709
int
710
710
PQsendQueryPrepared (PGconn * conn ,
@@ -773,7 +773,7 @@ PQsendQueryStart(PGconn *conn)
773
773
774
774
/*
775
775
* PQsendQueryGuts
776
- * Common code for 3.0-protocol query sending
776
+ * Common code for protocol- 3.0 query sending
777
777
* PQsendQueryStart should be done already
778
778
*
779
779
* command may be NULL to indicate we use an already-prepared statement
@@ -795,7 +795,7 @@ PQsendQueryGuts(PGconn *conn,
795
795
if (PG_PROTOCOL_MAJOR (conn -> pversion ) < 3 )
796
796
{
797
797
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" ));
799
799
return 0 ;
800
800
}
801
801
@@ -1131,7 +1131,7 @@ PQexec(PGconn *conn, const char *query)
1131
1131
1132
1132
/*
1133
1133
* 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
1135
1135
*/
1136
1136
PGresult *
1137
1137
PQexecParams (PGconn * conn ,
@@ -1155,7 +1155,7 @@ PQexecParams(PGconn *conn,
1155
1155
/*
1156
1156
* PQexecPrepared
1157
1157
* 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
1159
1159
*/
1160
1160
PGresult *
1161
1161
PQexecPrepared (PGconn * conn ,
@@ -1429,7 +1429,7 @@ PQputCopyEnd(PGconn *conn, const char *errormsg)
1429
1429
{
1430
1430
/* Ooops, no way to do this in 2.0 */
1431
1431
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" ));
1433
1433
return -1 ;
1434
1434
}
1435
1435
else
@@ -1597,7 +1597,7 @@ PQputnbytes(PGconn *conn, const char *buffer, int nbytes)
1597
1597
* After completing the data transfer portion of a copy in/out,
1598
1598
* the application must call this routine to finish the command protocol.
1599
1599
*
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
1601
1601
* to get the transfer status. Note however that when using 2.0 protocol,
1602
1602
* recovering from a copy failure often requires a PQreset. PQendcopy will
1603
1603
* take care of that, PQgetResult won't.
0 commit comments