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
I tried both postgres server 13 and 14 images but the result was the same. In order to isolate whether the issue is specific to turbodbc I tried creating an isql session.
And I don't see anything regarding encoding in the standard out. I also tried changing some of the default options, but the warning still is printed.
>>> opts = make_options(prefer_unicode=True)
>>> c = turbodbc.connect(dsn="airflow", turbodbc_options=opts, **kwargs)
encoding name too long
I tried the settings recommended in your readme and still see the same.
[airflow]
Driver=/usr/lib/x86_64-linux-gnu/odbc/psqlodbcw.so
Description=PostgreSQL DSN
ServerName=postgres
Port=5432
Database=airflow
Protocol= 7.4
UseDeclareFetch=1
Fetch=10000
UseServerSidePrepare=1
BoolsAsChar=0
ConnSettings=set time zone 'UTC';
Any ideas why I am seeing this warning inside Python? I am hesitant to use the package because I don't know any side effects from the warning. Thanks for all your help!
The text was updated successfully, but these errors were encountered:
Description
When connecting to a Postgres 13 or 14 server in Python repl the following message "encoding name too long" is printed
My demo
odbc.ini
is as followsI installed all the necessary packages in a bionic image
I tried both postgres server 13 and 14 images but the result was the same. In order to isolate whether the issue is specific to turbodbc I tried creating an
isql
session.And I don't see anything regarding encoding in the standard out. I also tried changing some of the default options, but the warning still is printed.
Any ideas why I am seeing this warning inside Python? I am hesitant to use the package because I don't know any side effects from the warning. Thanks for all your help!
The text was updated successfully, but these errors were encountered: