Skip to content
Snippets Groups Projects
Commit 40252b34 authored by Christoph Berg's avatar Christoph Berg :satellite:
Browse files

New upstream version 2.9.2.

parent 43ff77e9
Branches
Tags
No related merge requests found
Pipeline #703575 passed
postgresql-mysql-fdw (2.9.2-1) unstable; urgency=medium
* New upstream version 2.9.2.
-- Christoph Berg <myon@debian.org> Fri, 19 Jul 2024 19:18:07 +0200
postgresql-mysql-fdw (2.9.1-2) unstable; urgency=medium
* Upload for PostgreSQL 16.
......
--- a/expected/connection_validation.out
+++ b/expected/connection_validation.out
@@ -34,7 +34,7 @@ $$
BEGIN
SELECT * FROM f_mysql_test ORDER BY 1, 2;
EXCEPTION WHEN others THEN
- IF SQLERRM LIKE 'failed to connect to MySQL: Unknown MySQL server host ''localhos'' (%)' THEN
+ IF SQLERRM LIKE 'failed to connect to MySQL: Unknown %server host ''localhos'' (%)' THEN
RAISE NOTICE 'failed to connect to MySQL: Unknown MySQL server host ''localhos''';
ELSE
RAISE NOTICE '%', SQLERRM;
--- a/sql/connection_validation.sql
+++ b/sql/connection_validation.sql
@@ -34,7 +34,7 @@ $$
BEGIN
SELECT * FROM f_mysql_test ORDER BY 1, 2;
EXCEPTION WHEN others THEN
- IF SQLERRM LIKE 'failed to connect to MySQL: Unknown MySQL server host ''localhos'' (%)' THEN
+ IF SQLERRM LIKE 'failed to connect to MySQL: Unknown %server host ''localhos'' (%)' THEN
RAISE NOTICE 'failed to connect to MySQL: Unknown MySQL server host ''localhos''';
ELSE
RAISE NOTICE '%', SQLERRM;
--- a/expected/dml.out
+++ b/expected/dml.out
@@ -83,7 +83,7 @@ $$
BEGIN
INSERT INTO fdw126_ft2 VALUES(2, 'Two');
EXCEPTION WHEN others THEN
- IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table ''student''' THEN
+ IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table %student%' THEN
RAISE NOTICE E'failed to execute the MySQL query: \nUnknown database ''public''';
ELSE
RAISE NOTICE '%', SQLERRM;
--- a/sql/dml.sql
+++ b/sql/dml.sql
@@ -70,7 +70,7 @@ $$
BEGIN
INSERT INTO fdw126_ft2 VALUES(2, 'Two');
EXCEPTION WHEN others THEN
- IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table ''student''' THEN
+ IF SQLERRM LIKE '%SELECT command denied to user ''%''@''%'' for table %student%' THEN
RAISE NOTICE E'failed to execute the MySQL query: \nUnknown database ''public''';
ELSE
RAISE NOTICE '%', SQLERRM;
This produces different output (at least) on PG11, so remove it
--- a/expected/pushdown.out
+++ b/expected/pushdown.out
@@ -563,23 +563,6 @@ SELECT * FROM f_test_tbl1 ORDER BY c1 US
Remote query: SELECT `c1`, `c2`, `c3`, `c4`, `c5`, `c6`, `c7`, `c8` FROM `mysql_fdw_regress`.`test_tbl1`
(6 rows)
-EXPLAIN (COSTS FALSE, VERBOSE)
-SELECT MIN(c1) FROM f_test_tbl1 ORDER BY 1 USING OPERATOR(public.<^);
- QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------------------------
- Sort
- Output: ($0)
- Sort Key: ($0) USING <^
- InitPlan 1 (returns $0)
- -> Limit
- Output: f_test_tbl1.c1
- -> Foreign Scan on public.f_test_tbl1
- Output: f_test_tbl1.c1
- Remote query: SELECT `c1` FROM `mysql_fdw_regress`.`test_tbl1` WHERE ((`c1` IS NOT NULL)) ORDER BY `c1` IS NULL, `c1` ASC
- -> Result
- Output: $0
-(11 rows)
-
-- Cleanup
DELETE FROM f_test_tbl1;
DELETE FROM f_test_tbl2;
--- a/sql/pushdown.sql
+++ b/sql/pushdown.sql
@@ -264,9 +264,6 @@ CREATE OPERATOR CLASS my_op_class FOR TY
EXPLAIN (COSTS FALSE, VERBOSE)
SELECT * FROM f_test_tbl1 ORDER BY c1 USING OPERATOR(public.<^);
-EXPLAIN (COSTS FALSE, VERBOSE)
-SELECT MIN(c1) FROM f_test_tbl1 ORDER BY 1 USING OPERATOR(public.<^);
-
-- Cleanup
DELETE FROM f_test_tbl1;
DELETE FROM f_test_tbl2;
remove-bad-test
fetchsize32
mysql-error-text
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment