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

Commit4fd633d

Browse files
committed
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 parent8aac614 commit4fd633d

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
@@ -961,7 +961,7 @@ test_prepared(PGconn *conn)
961961
pg_fatal("pipeline sync failed: %s",PQerrorMessage(conn));
962962
res=PQgetResult(conn);
963963
if (res==NULL)
964-
pg_fatal("expected NULL result");
964+
pg_fatal("PQgetResult returned null");
965965
if (PQresultStatus(res)!=PGRES_COMMAND_OK)
966966
pg_fatal("expected COMMAND_OK, got %s",PQresStatus(PQresultStatus(res)));
967967

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp