Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 1896E9F95EE for ; Wed, 7 Nov 2007 04:15:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 07782-10 for ; Wed, 7 Nov 2007 04:14:19 -0400 (AST) Received: from sd.tpf.co.jp (mail.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id B8B169F949F for ; Wed, 7 Nov 2007 04:14:56 -0400 (AST) Received: (qmail 5443 invoked from network); 7 Nov 2007 17:14:54 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.117) by sd2.tpf-fw-c.co.jp with SMTP; 7 Nov 2007 17:14:54 +0900 Message-ID: <473173FB.4080105@tpf.co.jp> Date: Wed, 07 Nov 2007 17:14:51 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: =?KOI8-R?Q?=F3=C5=D2=C7=C5=CA_=E4=C5=CD=D8=D1=CE=C5=CE=CB=CF?= CC: rod@iol.ie, pgsql-odbc@postgresql.org Subject: Re: Access violation in psqlodbcw.dll References: <110419fb0711060610l189923efq6cd0bac0d70fb5c3@mail.gmail.com> <47308630.1020902@iol.ie> <110419fb0711062348q79dd96e9re4e5e477e2acd60d@mail.gmail.com> In-Reply-To: <110419fb0711062348q79dd96e9re4e5e477e2acd60d@mail.gmail.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.389 tagged_above=0 required=5 tests=AWL=0.574, BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200711/13 X-Sequence-Number: 9228 Сергей Демьяненко wrote: > 2007/11/6, Raymond O'Donnell >: > > On 06/11/2007 14:10, Сергей Демьяненко wrote: > > When I call TADOQuery.Open stored function raises exception: > > > > ERROR: column "arg_last_datetime" doesn't exists. > > State SQL:42703 > > Context:PL/pgSQL function "deliveries_visits_export3" line 40 at for > > over select rows > > The error message seems to indicate that there's a bug in your pl/pgsql > function - have you tried calling it directly from psql? > > Ray. > > > There is a bit of misunderstanding. Of course I know about bug in the > procedure. The problem is that TADOQuery doesn't return postgres > exception because psqlodbsw.dll raises "access violation". Hmm, psqlodbc 8.2.0500 doesn't include psqlodbcw.dll. Anyway could yo send me directly the Mylog output ? regards, Hiroshi Inoue