aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-05-12 13:56:19 +0900
committerFujii Masao <fujii@postgresql.org>2020-05-12 13:56:19 +0900
commit81ec990a23b9cbfaa5684e90091164f1d85f24d3 (patch)
treec1634158c16589b65dd672a22a9cd4ffdfc7c8be /src
parentb89d90b051a1da7a447b25dc749ce42ccb4dc5bd (diff)
downloadpostgresql-81ec990a23b9cbfaa5684e90091164f1d85f24d3.tar.gz
postgresql-81ec990a23b9cbfaa5684e90091164f1d85f24d3.zip
Correct standbycheck regression test output.
Commit 2eb34ac369 changed error messages emit when commands are rejected during recovery. But it forgot to update the standbycheck regression test output with those error message changes. Reported-by: Michail Nikolaev Author: Michail Nikolaev Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/CANtu0ojFPgcspH=0nNZ+qmu0XD69sXKtVttuSoYKHawRADSQGg@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/hs_standby_disallowed.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/hs_standby_disallowed.out b/src/test/regress/expected/hs_standby_disallowed.out
index dff0953e9a6..8d3cafa5cec 100644
--- a/src/test/regress/expected/hs_standby_disallowed.out
+++ b/src/test/regress/expected/hs_standby_disallowed.out
@@ -64,7 +64,7 @@ SELECT count(*) FROM hs1;
(1 row)
COMMIT PREPARED 'foobar';
-ERROR: COMMIT PREPARED cannot run inside a transaction block
+ERROR: cannot execute COMMIT PREPARED during recovery
ROLLBACK;
BEGIN;
SELECT count(*) FROM hs1;
@@ -86,7 +86,7 @@ SELECT count(*) FROM hs1;
(1 row)
ROLLBACK PREPARED 'foobar';
-ERROR: ROLLBACK PREPARED cannot run inside a transaction block
+ERROR: cannot execute ROLLBACK PREPARED during recovery
ROLLBACK;
-- Locks
BEGIN;