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

Commit821f01c

Browse files
michaelpqpull[bot]
authored andcommitted
Fix incorrect error message in libpq_pipeline
One of the tests for the pipeline mode with portal description expects anon-NULL PQgetResult, but used an incorrect error message on failure,telling that PQgetResult being NULL was the expected result.Author: Jelte FennemaDiscussion:https://postgr.es/m/CAGECzQTkShHecFF+EZrm94Lbsu2ej569T=bz+PjMbw9Aiioxuw@mail.gmail.comBackpatch-through: 14
1 parentb070519 commit821f01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/modules/libpq_pipeline/libpq_pipeline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ test_prepared(PGconn *conn)
959959
pg_fatal("pipeline sync failed: %s",PQerrorMessage(conn));
960960
res=PQgetResult(conn);
961961
if (res==NULL)
962-
pg_fatal("expected NULL result");
962+
pg_fatal("PQgetResult returned null");
963963
if (PQresultStatus(res)!=PGRES_COMMAND_OK)
964964
pg_fatal("expected COMMAND_OK, got %s",PQresStatus(PQresultStatus(res)));
965965

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp