Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da3ea04

Browse files
committed
Remove too demanding test
Remove the test from commit 9c2e660. This test ends up allocating quite a bit of memory, which can make the test fail with out of memory errors on some build farm machines.
1 parent 9c2e660 commit da3ea04

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/test/regress/expected/prepare.out

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@ SELECT name, statement, parameter_types, result_types FROM pg_prepared_statement
184184
| UPDATE tenk1 SET stringu1 = $2 WHERE unique1 = $1; | |
185185
(6 rows)
186186

187-
-- max parameter number and one above
188-
PREPARE q9 AS SELECT $268435455, $268435456;
189-
ERROR: there is no parameter $268435456
190-
LINE 1: PREPARE q9 AS SELECT $268435455, $268435456;
191-
^
192187
-- test DEALLOCATE ALL;
193188
DEALLOCATE ALL;
194189
SELECT name, statement, parameter_types FROM pg_prepared_statements

src/test/regress/sql/prepare.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ PREPARE q8 AS
7878
SELECT name, statement, parameter_types, result_types FROM pg_prepared_statements
7979
ORDER BY name;
8080

81-
-- max parameter number and one above
82-
PREPARE q9 AS SELECT $268435455, $268435456;
83-
8481
-- test DEALLOCATE ALL;
8582
DEALLOCATE ALL;
8683
SELECT name, statement, parameter_types FROM pg_prepared_statements

0 commit comments

Comments
 (0)