|
1 | 1 | .\" This is -*-nroff-*- |
2 | 2 | .\" XXX standard disclaimer belongs here.... |
3 | | -.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.6 1997/10/16 04:14:19 momjian Exp $ |
| 3 | +.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.7 1997/10/17 02:11:49 momjian Exp $ |
4 | 4 | .TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL |
5 | 5 | .SH DESCRIPTION |
6 | 6 | Libpq is the programmer's interface to Postgres. Libpq is a set of |
@@ -201,13 +201,20 @@ be used to retrieve the tuples returned by the query. |
201 | 201 | .IP |
202 | 202 |
|
203 | 203 | .BPQntuples |
204 | | -returns the number of tuples (instances) in the query result, or the |
205 | | -number of rows affected for queries that do not return any tuples. |
| 204 | +returns the number of tuples (instances) in the query result. |
206 | 205 |
|
207 | 206 | .nf |
208 | 207 | int PQntuples(PGresult *res); |
209 | 208 | .fi |
210 | 209 |
|
| 210 | +.BPQcmdTuples |
| 211 | +returns the number of tuples (instances) affected by INSERT, UPDATE, and |
| 212 | +DELETE queries. |
| 213 | + |
| 214 | +.nf |
| 215 | +char *PQcmdTuples(PGresult *res); |
| 216 | +.fi |
| 217 | + |
211 | 218 | .BPQnfields |
212 | 219 | returns the number of fields (attributes) in the query result. |
213 | 220 | .nf |
|