Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve8wU-0003rR-5T for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Nov 2013 19:39:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ve8wT-0002ZO-KX for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Nov 2013 19:39:05 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve8wS-0002ZH-J6 for pgsql-bugs@postgresql.org; Wed, 06 Nov 2013 19:39:04 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve8wP-0002Hz-Hj for pgsql-bugs@postgresql.org; Wed, 06 Nov 2013 19:39:03 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id rA6Jctl11329; Wed, 6 Nov 2013 11:38:55 -0800 Message-ID: <527A9ACC.9020609@hogranch.com> Date: Wed, 06 Nov 2013 11:38:52 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org, surendranath1021@gmail.com Subject: Re: References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 11/5/2013 11:22 PM, suri wrote: > > I have created a function to update the data in the table in postgres > and i have 33k records to update. When i was calling the function as > SQL the data is updated fine. But when i was calling the same function > through callable statement only about 28k records are updated in the > table and it was skipping the remaining records no exceptions have > thrown. please help me on this issue. > > this is my code. CallableStatement callStatement = > ConnectionDB.getConnectionInstance().prepareCall(" { ? = call > functionname()}"); callStatement.registerOutParameter(1, > Types.VARCHAR); callStatement.execute(); > PostgreSQL has no 'call' statement, you use SELECT to call a function. Is that code fragment Java or what? there is insufficient information here to determine if this is in fact some sort of bug, or rather a user misunderstanding, or what. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs