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

Commit98c4ebd

Browse files
committed
Increase the statement_timeout value used in the prepared_xacts regression
test. We have seen some buildfarm failures that seem to be due to thislimit being unexpectedly exceeded when the machine is under load.
1 parentd7379b7 commit98c4ebd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/test/regress/expected/prepared_xacts.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ SELECT gid FROM pg_prepared_xacts;
157157
(2 rows)
158158

159159
-- pxtest3 should be locked because of the pending DROP
160-
set statement_timeout to1000;
160+
set statement_timeout to2000;
161161
SELECT * FROM pxtest3;
162162
ERROR: canceling statement due to statement timeout
163163
reset statement_timeout;
@@ -172,7 +172,7 @@ SELECT gid FROM pg_prepared_xacts;
172172
(2 rows)
173173

174174
-- pxtest3 should still be locked because of the pending DROP
175-
set statement_timeout to1000;
175+
set statement_timeout to2000;
176176
SELECT * FROM pxtest3;
177177
ERROR: canceling statement due to statement timeout
178178
reset statement_timeout;

‎src/test/regress/sql/prepared_xacts.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ SELECT * FROM pxtest2;
102102
SELECT gidFROM pg_prepared_xacts;
103103

104104
-- pxtest3 should be locked because of the pending DROP
105-
set statement_timeout to1000;
105+
set statement_timeout to2000;
106106
SELECT*FROM pxtest3;
107107
reset statement_timeout;
108108

@@ -113,7 +113,7 @@ reset statement_timeout;
113113
SELECT gidFROM pg_prepared_xacts;
114114

115115
-- pxtest3 should still be locked because of the pending DROP
116-
set statement_timeout to1000;
116+
set statement_timeout to2000;
117117
SELECT*FROM pxtest3;
118118
reset statement_timeout;
119119

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp