Closed arag0rn2k3 closed 8 years ago
The problem is since an update of multicorn, ubuntu, sqlalchemy and all other packages and my update from Postgresql 9.3.5 to PostgreSQL 9.5.0 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2, 64-bit
The MSSQL Database is completely untouched (no changes or updates)
I get the error if I Select something in MSSQL over my Postgresql with Multicorn Extension TESTCASE:
create foreign table NAV_OPEN_VENDOR ( "vendor" varchar, "posting_date" date, "remamount" numeric ) server alchemy_srv options ( tablename 'open_vendor', db_url 'mssql+pymssql://user:pass@192.168.1.100/database' );
In PostgreSQL: SELECT * from NAV_OPEN_VENDOR; -> TypeError: expected string or buffer
it seem that not the correct version string is reported to the SQLAlchemy driver...
The Problem is only to MSSQL-DB...how can i fix it?
File "/usr/local/lib/python2.7/dist-packages/multicorn-1.3.2-py2.7-linux-x86_64.egg/multicorn/sqlalchemyfdw.py", line 356, in begin self.transaction = self.connection.begin()