Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit627730f

Browse files
committed
Update PQntuples now returns rows affected.
1 parent7cd15c4 commit627730f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎src/man/libpq.3

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.4 1996/12/11 00:27:53 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.5 1997/10/01 18:14:53 momjian Exp $
44
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
55
.SH DESCRIPTION
66
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.
201201
.IP
202202

203203
.BPQntuples
204-
returns the number of tuples (instances) in the query result.
204+
returns the number of tuples (instances) in the query result, or the
205+
number of rows affected for queries that do not return a tuples.
206+
205207
.nf
206208
int PQntuples(PGresult *res);
207209
.fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp