Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XUxfy-0002Ep-AI for pgsql-odbc@arkaria.postgresql.org; Fri, 19 Sep 2014 12:52:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XUxfx-0002Xy-PH for pgsql-odbc@arkaria.postgresql.org; Fri, 19 Sep 2014 12:52:37 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XUxfw-0002T0-AM for pgsql-odbc@postgresql.org; Fri, 19 Sep 2014 12:52:36 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XUxfq-0006IW-4f for pgsql-odbc@postgresql.org; Fri, 19 Sep 2014 12:52:32 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 1932C28610; Fri, 19 Sep 2014 05:52:28 -0700 (PDT) Received: from EX13-CAS-009.vmware.com (EX13-CAS-009.vmware.com [10.113.191.61]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 1479D41377; Fri, 19 Sep 2014 05:52:28 -0700 (PDT) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-012.vmware.com (10.113.191.32) with Microsoft SMTP Server (TLS) id 15.0.775.38; Fri, 19 Sep 2014 05:52:27 -0700 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.775.38; Fri, 19 Sep 2014 05:52:15 -0700 Message-ID: <541C26FC.906@vmware.com> Date: Fri, 19 Sep 2014 15:52:12 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: Bala krishna Devasani , , Subject: Re: Problem in Re-using the prepared statement References: In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 09/19/2014 01:37 PM, Bala krishna Devasani wrote: > Desc: i have a problem executing the prepared statement more than once. 1st > time it executing correct and when i try to execute same prepared statement > next time it is failed giving the error like this. > > Error: "27:Error fetching numeric attribute: ColAttribute for this type not > implemented yet" That message is given when the SQLColAttribute function is called with a field identifier that the driver doesn't recognize. > What program you're using to connect to PostgreSQL:ODBC 3.5 (libodbc++) > library Perhaps libodbc++ issues the SQLColAttribute() call automatically? Enable debug logging, and check the "mylog.*" file. There should be a line for the call to the PGAPI_ColAttributes function, showing the arguments it was called with. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc