mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Update PQntuples now returns rows affected.
This commit is contained in:
parent
7cd15c47d8
commit
627730fa47
@ -1,6 +1,6 @@
|
||||
.\" This is -*-nroff-*-
|
||||
.\" 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
|
||||
.SH DESCRIPTION
|
||||
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
|
||||
|
||||
.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
|
||||
int PQntuples(PGresult *res);
|
||||
.fi
|
||||
|
Loading…
Reference in New Issue
Block a user