File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ CREATE SERVER mysql_svr FOREIGN DATA WRAPPER mysql_fdw
1111 OPTIONS (host :MYSQL_HOST, port :MYSQL_PORT);
1212CREATE USER MAPPING FOR PUBLIC SERVER mysql_svr
1313 OPTIONS (username :MYSQL_USER_NAME, password :MYSQL_PASS);
14+ -- Check version
15+ SELECT mysql_fdw_version();
16+ mysql_fdw_version
17+ -------------------
18+ 20504
19+ (1 row)
20+
1421-- Create foreign tables
1522CREATE FOREIGN TABLE f_mysql_test(a int, b int)
1623 SERVER mysql_svr OPTIONS (dbname 'mysql_fdw_regress', table_name 'mysql_test');
Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ unsigned int ((mysql_num_rows) (MYSQL_RES *result));
102102
103103/*
104104 * In PG 9.5.1 the number will be 90501,
105- * our version is 2.5.3 so number will be 20503
105+ * our version is 2.5.4 so number will be 20504
106106 */
107- #define CODE_VERSION 20503
107+ #define CODE_VERSION 20504
108108
109109typedef struct MySQLFdwRelationInfo
110110{
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ CREATE SERVER mysql_svr FOREIGN DATA WRAPPER mysql_fdw
1414CREATE USER MAPPING FOR PUBLIC SERVER mysql_svr
1515 OPTIONS (username :MYSQL_USER_NAME, password :MYSQL_PASS);
1616
17+ -- Check version
18+ SELECT mysql_fdw_version();
19+
1720-- Create foreign tables
1821CREATE FOREIGN TABLE f_mysql_test(a int , b int )
1922 SERVER mysql_svr OPTIONS (dbname ' mysql_fdw_regress' , table_name ' mysql_test' );
You can’t perform that action at this time.
0 commit comments