Skip site navigation (1) Skip section navigation (2)

Re: enabling psqlODBC logs

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc

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, 

                       NULL, 0, NULL, SQL_DRIVER_COMPLETE);

If you use ODBC.INI you add debug=1 / commlog =1 to the section of your
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


View this message in context:
Sent from the PostgreSQL - odbc mailing list archive at

In response to

pgsql-odbc by date

Next:From: BGoebelDate: 2011-11-23 21:41:58
Subject: Re: Error Retrieving Catalog Info
Previous:From: tamanna madaanDate: 2011-11-11 07:15:13
Subject: enabling psqlODBC logs

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group