Re: [ODBC] MyLog and CommLog options
От | Inoue, Hiroshi |
---|---|
Тема | Re: [ODBC] MyLog and CommLog options |
Дата | |
Msg-id | a821a6ec-d5ed-c6b7-3225-424cad5f7a20@dream.email.ne.jp обсуждение исходный текст |
Ответ на | Re: [ODBC] MyLog and CommLog options (Daniil Megrabyan <danil.megrabjan@gmail.com>) |
Ответы |
Re: [ODBC] MyLog and CommLog options
|
Список | pgsql-odbc |
On 2017/02/04 16:51, Daniil Megrabyan wrote: >> 4 февр. 2017 г., в 10:45, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> написал(а): >> >> Hmm, odbc.ini exists for datasource description whereas odbcinst.ini exists for driver description. >> How do you call ODBC, via DSN or DSNless? > I’m trying both. The latest attempt: > > miniBagroff:odbc danilabagroff$ cat /usr/local/etc/odbc.ini > [pg_abra1] > Driver = PostgreSQL > Host = localhost > Port = 5432 > Protocol = 6.4 > FetchBufferSize = 99 > Database = abra1 > ReadOnly = no > MyLog = /tmp/mylog2.log Mylog isn't an option, instead try Debug = 1 Possibly you will find /tmp/mylog_xxxx. regards, Hiroshi Inoue > > miniBagroff:odbc danilabagroff$ cat /usr/local/etc/odbcinst.ini > [ODBC] > Trace = Yes > TraceFile = /usr/local/var/log/odbc/trace.log > > [ODBC Drivers] > PostgreSQL = Installed > > [PostgreSQL] > Description = PostgreSQL ODBC Driver > Driver = /usr/local/lib/psqlodbcw.so > Setup = /usr/local/lib/psqlodbcw.so > Protocol = 6.4 > FetchBufferSize = 99 > ReadOnly = no > MyLog = /tmp/mylog1.log > > miniBagroff:odbc danilabagroff$ isql pg_abra1 abra cadabra -v > +---------------------------------------+ > | Connected! | > | | > | sql-statement | > | help [tablename] | > | quit | > | | > +---------------------------------------+ > SQL> SELECT 1; > +------------+ > | ?column? | > +------------+ > | 1 | > +------------+ > SQLRowCount returns 1 > 1 rows fetched > SQL> quit > > miniBagroff:odbc danilabagroff$ ls /tmp/mylog* > ls: /tmp/mylog*: No such file or directory > > > — Daniil A Megrabyan —
В списке pgsql-odbc по дате отправления: