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

Commit9e1eb99

Browse files
author
Ekaterina Sokolova
committed
Improve error message text
1 parentaa7866c commit9e1eb99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,14 @@ postgres=# SELECT pid FROM pg_stat_activity where query like 'delete%';
407407
(1 row)
408408

409409
postgres=# SELECT pg_progress_bar(23877);
410-
INFO:Counting Progress doesn't available
410+
INFO:could not get query execution progress
411411
pg_progress_bar
412412
-----------------
413413
-1
414414
(1 row)
415415

416416
postgres=# SELECT pg_progress_bar_visual(23877, 5);
417-
INFO:Counting Progress doesn't available
417+
INFO:could not get query execution progress
418418
pg_progress_bar_visual
419419
------------------------
420420
-1

‎pg_query_state.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ pg_progress_bar(PG_FUNCTION_ARGS)
14841484
progress=GetCurrentNumericState(msg);
14851485
if (progress<0)
14861486
{
1487-
elog(INFO,"Counting Progress doesn't available");
1487+
elog(INFO,"could not get query execution progress");
14881488
PG_RETURN_FLOAT8((float8)-1);
14891489
}
14901490
else
@@ -1502,7 +1502,7 @@ pg_progress_bar(PG_FUNCTION_ARGS)
15021502
}
15031503
elseif (progress<0)
15041504
{
1505-
elog(INFO,"Counting Progress doesn't available");
1505+
elog(INFO,"could not get query execution progress");
15061506
break;
15071507
}
15081508

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp