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

Commit8bf7db0

Browse files
committed
Fix comment of PQputCopyEnd()
The comment describing the error codes of this routine mentioned 0 as apossible value, but this error code has never been used.Author: Junwang ZhaoReviewed-by: Aleksander AlekseevDiscussion:https://postgr.es/m/CAEG8a3Jt5KwMNr+_S6VN68rog4HeoG6ELvPQO8kZNQTeJeQ=rQ@mail.gmail.com
1 parent52c6c0f commit8bf7db0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/interfaces/libpq/fe-exec.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2709,8 +2709,7 @@ PQputCopyData(PGconn *conn, const char *buffer, int nbytes)
27092709
*
27102710
* After calling this, use PQgetResult() to check command completion status.
27112711
*
2712-
* Returns 1 if successful, 0 if data could not be sent (only possible
2713-
* in nonblock mode), or -1 if an error occurs.
2712+
* Returns 1 if successful, or -1 if an error occurs.
27142713
*/
27152714
int
27162715
PQputCopyEnd(PGconn*conn,constchar*errormsg)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp