From: | "Andy Hallam" <ahm(at)exel(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Turn on mylog debugging |
Date: | 2001-10-30 10:21:44 |
Message-ID: | 9rlv27$1941$1@news.tht.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
OK - found it.
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL\Debug
1 = ON
0 = OFF
"Andy Hallam" <ahm(at)exel(dot)co(dot)uk> wrote in message
news:9rls25$18b8$1(at)news(dot)tht(dot)net(dot)(dot)(dot)
> PostgreSQL - 7.1.3 (installed on Linux 2.4.2-2)
> PSQLODBC.DLL - 07.01.0007
> Visual C++ - 6.0
>
> Can someone tell me how I turn mylog debugging on please.
>
> I am using SQLDriverConnect to connect to the PostgreSQL database.
> Here is a snippet of my C connection code:
>
> ...
>
> else { // POSTGRESQL
> _stprintf((_TCHAR *)in_connect_str,
> L"Driver={PostgreSQL};"
> L"UID=%s;"
> L"PWD=%s;"
> L"SERVER=%s;"
> L"DATABASE=%s;",
> strUID, strPWD, strServer, strDatabase);
> }
>
> // *****************
> // CONNECT TO SERVER
> // *****************
> odbc_rc = SQLDriverConnect(hdbc,
> (SQLHWND)0,
> (SQLTCHAR *)in_connect_str,
> (SQLSMALLINT)in_connect_str_len,
> (SQLTCHAR *)out_connect_str,
> (SQLSMALLINT)out_connect_str_len,
> &stringlen,
> SQL_DRIVER_NOPROMPT);
>
> ...
>
>
> Thanks for any help on this.
>
> Andy.
> ahm(at)exel(dot)co(dot)uk
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Michel POURE | 2001-10-30 12:10:18 | Re: [HACKERS] Serious performance problem |
Previous Message | Jean-Michel POURE | 2001-10-30 10:17:51 | Re: [HACKERS] Serious performance problem |