Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 98A5447592C for ; Mon, 18 Nov 2002 22:56:43 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id C24EE4753A1 for ; Mon, 18 Nov 2002 22:56:41 -0500 (EST) Received: (qmail 7919 invoked from network); 19 Nov 2002 03:56:44 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 19 Nov 2002 03:56:44 -0000 Received: from tpf.co.jp (3dgateway1 [126.0.1.60]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id MAA00774; Tue, 19 Nov 2002 12:56:40 +0900 (JST) Message-ID: <3DD9B6D1.C6E30832@tpf.co.jp> Date: Tue, 19 Nov 2002 12:58:09 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: markw Cc: pgsql-odbc@postgresql.org Subject: Re: Threading crash using ODBC References: <3DD51F26.7050201@mohawksoft.com> <3DD5BEF7.4F734DA4@tpf.co.jp> <3DD5C7C8.5090500@mohawksoft.com> <3DD5D250.AFF7D4C@tpf.co.jp> <3DD631C0.5090108@mohawksoft.com> <3DD864C9.D0865217@tpf.co.jp> <3DD90514.6060704@mohawksoft.com> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/94 X-Sequence-Number: 2271 markw wrote: > > Hiroshi Inoue wrote: > > >markw wrote: > > [snip] > > > >Though the unixODBC and PostgreSQL drivers have a similar origin, > >they are pretty different now. As for stack utilization, I removed > >MAX_MESSAGE_LEN(65536) byte buffers completely and so most > >applications may be able to work with 64K stack size. > > > > > That's great news. Did you use malloc or alloca? I didn't use malloc to remove MAX_MESSAGE_LEN buffers though I'm using malloc to build long queries. regards, Hiroshi Inoue http://w2422.nsk.ne.jp/~inoue/