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

Turn on mylog debugging

From: "Andy Hallam" <ahm(at)exel(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Turn on mylog debugging
Date: 2001-10-30 09:30:31
Message-ID: 9rls25$18b8$1@news.tht.net (view raw or flat)
Thread:
Lists: pgsql-general
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





Responses

pgsql-general by date

Next:From: Tille, AndreasDate: 2001-10-30 09:42:16
Subject: Re: Serious performance problem
Previous:From: Tatsuo IshiiDate: 2001-10-30 07:35:08
Subject: Re: resend: Chinese sort order problem

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