You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One usually connects to SQLite without any authentication. However odbc_fdw expects for user mapping to exist.
Steps to Reproduce
Have SQLite data source
CREATE SERVER odbc_sqlite FOREIGN DATA WRAPPER odbc_fdw OPTIONS (driver 'SQLite3 ODBC Driver', odbc_database 'C:\path\to\sqlite3.db', odbc_bigint 'true' ); (I am on Windows)
Forget to include CREATE USER MAPPING FOR current_user SERVER odbc_sqlite;
Try to import tables IMPORT FOREIGN SCHEMA main FROM SERVER odbc_sqlite INTO public;
Context
One usually connects to SQLite without any authentication. However odbc_fdw expects for user mapping to exist.
Steps to Reproduce
CREATE SERVER odbc_sqlite FOREIGN DATA WRAPPER odbc_fdw OPTIONS (driver 'SQLite3 ODBC Driver', odbc_database 'C:\path\to\sqlite3.db', odbc_bigint 'true' );
(I am on Windows)CREATE USER MAPPING FOR current_user SERVER odbc_sqlite;
IMPORT FOREIGN SCHEMA main FROM SERVER odbc_sqlite INTO public;
Current Result
Get
user mapping not found for "myuser"
Expected result
Have table in public schema.
System trying to connect to and version
Tried with PostgreSQL 11 on MS Windows 64 bit with SQLite ODBC driver from http://www.ch-werner.de/sqliteodbc/ .
The text was updated successfully, but these errors were encountered: