Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 7ABD79F931A for ; Tue, 6 Nov 2007 11:25:47 -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 97346-03 for ; Tue, 6 Nov 2007 11:25:16 -0400 (AST) Received: from mail26.svc.cra.dublin.eircom.net (mail26.svc.cra.dublin.eircom.net [159.134.118.55]) by postgresql.org (Postfix) with SMTP id 82F8B9F936A for ; Tue, 6 Nov 2007 11:20:27 -0400 (AST) Received: (qmail 28033 messnum 5059920 invoked from network[86.43.79.16/unknown]); 6 Nov 2007 15:20:25 -0000 Received: from unknown (HELO ?127.0.0.1?) (86.43.79.16) by mail26.svc.cra.dublin.eircom.net (qp 28033) with SMTP; 6 Nov 2007 15:20:25 -0000 Message-ID: <47308630.1020902@iol.ie> Date: Tue, 06 Nov 2007 15:20:16 +0000 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: =?UTF-8?B?0KHQtdGA0LPQtdC5INCU0LXQvNGM0Y/QvdC10L3QutC+?= CC: pgsql-odbc@postgresql.org Subject: Re: Access violation in psqlodbcw.dll References: <110419fb0711060610l189923efq6cd0bac0d70fb5c3@mail.gmail.com> In-Reply-To: <110419fb0711060610l189923efq6cd0bac0d70fb5c3@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 071105-1, 05/11/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.047 tagged_above=0 required=5 tests=AWL=0.046, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200711/7 X-Sequence-Number: 9222 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. --------------------------------------------------------------- Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie ---------------------------------------------------------------