1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
--- a/sql/server_options.sql
+++ b/sql/server_options.sql
@@ -164,9 +164,11 @@ SELECT count(*)
AND srvoptions @> array['fetch_size=202'];
-- Negative test cases for fetch_size option, should error out.
-ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '-60000');
-ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '123abc');
-ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '999999999999999999999');
+-- Debian: error message varies on 32-bit, disable here since upstream is unwilling to fix it
+-- https://github.com/EnterpriseDB/mysql_fdw/pull/227
+--ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '-60000');
+--ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '123abc');
+--ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '999999999999999999999');
-- Cleanup fetch_size test objects.
DROP FOREIGN TABLE table30000;
--- a/expected/server_options.out
+++ b/expected/server_options.out
@@ -231,12 +231,11 @@ SELECT count(*)
(1 row)
-- Negative test cases for fetch_size option, should error out.
-ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '-60000');
-ERROR: "fetch_size" requires an integer value between 1 to 18446744073709551615
-ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '123abc');
-ERROR: "fetch_size" requires an integer value between 1 to 18446744073709551615
-ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '999999999999999999999');
-ERROR: "fetch_size" requires an integer value between 1 to 18446744073709551615
+-- Debian: error message varies on 32-bit, disable here since upstream is unwilling to fix it
+-- https://github.com/EnterpriseDB/mysql_fdw/pull/227
+--ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '-60000');
+--ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '123abc');
+--ALTER FOREIGN TABLE table30000 OPTIONS ( SET fetch_size '999999999999999999999');
-- Cleanup fetch_size test objects.
DROP FOREIGN TABLE table30000;
DROP SERVER fetch101;
|