Remove too demanding test
authorPeter Eisentraut <[email protected]>
Tue, 2 Jul 2024 08:43:12 +0000 (10:43 +0200)
committerPeter Eisentraut <[email protected]>
Tue, 2 Jul 2024 08:43:12 +0000 (10:43 +0200)
Remove the test from commit 9c2e660b07.  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.

src/test/regress/expected/prepare.out
src/test/regress/sql/prepare.sql

index 853cbed248eca783a9778b4a3ae894e9e367b36a..5815e17b39cc8c933b2c4ba9d00ecfbb96206bcd 100644 (file)
@@ -184,11 +184,6 @@ SELECT name, statement, parameter_types, result_types FROM pg_prepared_statement
       |     UPDATE tenk1 SET stringu1 = $2 WHERE unique1 = $1;           |                                                    | 
 (6 rows)
 
--- max parameter number and one above
-PREPARE q9 AS SELECT $268435455, $268435456;
-ERROR:  there is no parameter $268435456
-LINE 1: PREPARE q9 AS SELECT $268435455, $268435456;
-                                         ^
 -- test DEALLOCATE ALL;
 DEALLOCATE ALL;
 SELECT name, statement, parameter_types FROM pg_prepared_statements
index 1536f802d5eb9c30deb31ffd384a5fd3fb33a477..c6098dc95ceee7cf2be3d8f18cd1bc7a519eec7f 100644 (file)
@@ -78,9 +78,6 @@ PREPARE q8 AS
 SELECT name, statement, parameter_types, result_types FROM pg_prepared_statements
     ORDER BY name;
 
--- max parameter number and one above
-PREPARE q9 AS SELECT $268435455, $268435456;
-
 -- test DEALLOCATE ALL;
 DEALLOCATE ALL;
 SELECT name, statement, parameter_types FROM pg_prepared_statements