mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Update PQntuples now returns rows affected.
This commit is contained in:
parent
7cd15c47d8
commit
627730fa47
@ -1,6 +1,6 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" XXX standard disclaimer belongs here....
|
||||||
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.4 1996/12/11 00:27:53 momjian Exp $
|
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.5 1997/10/01 18:14:53 momjian Exp $
|
||||||
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
|
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Libpq is the programmer's interface to Postgres. Libpq is a set of
|
Libpq is the programmer's interface to Postgres. Libpq is a set of
|
||||||
@ -201,7 +201,9 @@ be used to retrieve the tuples returned by the query.
|
|||||||
.IP
|
.IP
|
||||||
|
|
||||||
.B PQntuples
|
.B PQntuples
|
||||||
returns the number of tuples (instances) in the query result.
|
returns the number of tuples (instances) in the query result, or the
|
||||||
|
number of rows affected for queries that do not return a tuples.
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
int PQntuples(PGresult *res);
|
int PQntuples(PGresult *res);
|
||||||
.fi
|
.fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user