pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: zhaoxin <zhaox@necas.nec.com.cn>
To: pgsql-odbc@postgresql.org
Subject: Re: Memory Leak ?
Date: Fri, 16 Jun 2006 17:03:14 +0800
Message-ID: <449273D2.40200@necas.nec.com.cn> (raw)
In-Reply-To: <20060616080805.GA25182@soptik.pzkagis.cz>
References: <4487E76B.4000805@necas.nec.com.cn>
	<20060609112005.GD8153@soptik.pzkagis.cz>
	<448FF5A6.1060202@necas.nec.com.cn>
	<449082F3.60008@tpf.co.jp>
	<44913243.7030708@necas.nec.com.cn>
	<449159E6.4090200@tpf.co.jp>
	<449207DE.3090102@necas.nec.com.cn>
	<20060616080805.GA25182@soptik.pzkagis.cz>


>>>Could you tell me your connection string ?
>>
>>My connection string is like this (with ODBC default settings):
>>
>> SQLConnect(hdbc,(SQLCHAR*)szDSN, (SQLSMALLINT)strlen(szDSN),
>>	    (SQLCHAR*)szUID, (SQLSMALLINT)strlen(szUID),
>>	    (SQLCHAR*)szAuthStr, (SQLSMALLINT)strlen(szAuthStr));
> 
> 
> Hiroshi needs to know the value for szDSN.
> 
ok,I see .
my connection string is below:
***************************
char   szDSN[20];
char   szUID[20];
char   szAuthStr[20];
...
sprintf(szDSN,"postgre_8.02\0");
sprintf(szUID,"test\0");
sprintf(szAuthStr,"test\0");
...
***************************
is there some problem here ?




view thread (21+ messages)  latest in thread

Message-ID: <449273D2.40200@necas.nec.com.cn>
Permalink:  ../449273D2.40200@necas.nec.com.cn/
Also on:    postgresql.org/message-id/449273D2.40200@necas.nec.com.cn

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: zhaox@necas.nec.com.cn
  Subject: Re: Memory Leak ?
  In-Reply-To: <449273D2.40200@necas.nec.com.cn>
  References: <4487E76B.4000805@necas.nec.com.cn> <20060609112005.GD8153@soptik.pzkagis.cz> <448FF5A6.1060202@necas.nec.com.cn> <449082F3.60008@tpf.co.jp> <44913243.7030708@necas.nec.com.cn> <449159E6.4090200@tpf.co.jp> <449207DE.3090102@necas.nec.com.cn> <20060616080805.GA25182@soptik.pzkagis.cz> <449273D2.40200@necas.nec.com.cn>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox