From: | BGoebel <b(dot)goebel(at)prisma-computer(dot)de> |
---|---|
To: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: enabling psqlODBC logs |
Date: | 2011-11-15 17:37:34 |
Message-ID: | 1321378654770-4995095.post@n5.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Hi
Try to add "debug=1" or "commlog=1" to the connection string, the string
which holds info for port, database to connect and so on.
SQLDriverConnect(dbc, NULL,
"Driver={PostgreSQL};Server=127.0.0.1;Port=5432;Database=postgres;Uid=postgres;Pwd=mypwd;debug=1;commlog=1;",
SQL_NTS,
NULL, 0, NULL, SQL_DRIVER_COMPLETE);
If you use ODBC.INI you add debug=1 / commlog =1 to the section of your
database.
The logs created by the driver mylog_*.log / psqlodbc_*.log you find in a
temp folder. Use a search tool to find out where exactly they are.
hope this helps
regards
--
View this message in context: http://postgresql.1045698.n5.nabble.com/enabling-psqlODBC-logs-tp4983604p4995095.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | BGoebel | 2011-11-23 21:41:58 | Re: Error Retrieving Catalog Info |
Previous Message | tamanna madaan | 2011-11-11 07:15:13 | enabling psqlODBC logs |