Re:

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org, surendranath1021(at)gmail(dot)com
Subject: Re:
Date: 2013-11-06 19:38:52
Message-ID: 527A9ACC.9020609@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

  • at 2013-11-06 07:22:17 from suri

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Nix 2013-11-06 22:06:44 Re: BUG #8578: loading a 33G (compressed) pg_dump into a fresh host and db instance crashes a postgresql process
Previous Message Rene Grün 2013-11-06 16:51:17 Re: BUG #8579: CoreDump of background writer process