From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
To: surendranath1021@gmail.com
Subject: Re:
Date: Wed, 06 Nov 2013 11:38:52 -0800
Message-ID: <527A9ACC.9020609@hogranch.com> (raw)
In-Reply-To: <CACyS=CjPxqmPmaOnNhLq+9FHtQ0KwZ_CBaPzgmoq5wb8O2JBSg@mail.gmail.com>
References: <CACyS=CjPxqmPmaOnNhLq+9FHtQ0KwZ_CBaPzgmoq5wb8O2JBSg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: pierce@hogranch.com, surendranath1021@gmail.com
Subject: Re:
In-Reply-To: <527A9ACC.9020609@hogranch.com>
References: <CACyS=CjPxqmPmaOnNhLq+9FHtQ0KwZ_CBaPzgmoq5wb8O2JBSg@mail.gmail.com> <527A9ACC.9020609@hogranch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox