Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aCkbN-0001sa-2Y for pgsql-jdbc@arkaria.postgresql.org; Sat, 26 Dec 2015 08:53:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aCkbL-0003Ck-IE for pgsql-jdbc@arkaria.postgresql.org; Sat, 26 Dec 2015 08:53:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aCkap-0002eo-NX for pgsql-jdbc@postgresql.org; Sat, 26 Dec 2015 08:52:51 +0000 Received: from xs.dms.at ([78.142.176.1]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aCkai-0005Iv-GD for pgsql-jdbc@postgresql.org; Sat, 26 Dec 2015 08:52:50 +0000 Received: from localhost (unknown [127.0.0.1]) by xs.dms.at (Postfix) with ESMTP id C12173C427; Sat, 26 Dec 2015 08:52:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at dms.at Received: from xs.dms.at ([127.0.0.1]) by localhost (mainsrv.dms.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lN42eEx1PLt9; Sat, 26 Dec 2015 09:52:42 +0100 (CET) Received: from [192.168.191.106] (hacheni.kopileft.com [192.168.191.106]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by xs.dms.at (Postfix) with ESMTPSA id 435653C426; Sat, 26 Dec 2015 09:52:42 +0100 (CET) Message-ID: <567E556F.4020103@kopileft.com> Date: Sat, 26 Dec 2015 09:53:03 +0100 From: =?UTF-8?B?SMOpZGkgSEFDSEVOSQ==?= User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Vladimir Sitnikov CC: List Subject: Re: JDBC and positioned updates References: <567D5C7B.3060402@kopileft.com> <567E493D.7050204@kopileft.com> <567E4AD8.50403@kopileft.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Basically we will not perform positioned updates on the hole table data but for a data portion that it would not exceed 30 rows. That's why I said it depends on what table we're going through. But we take care about queries performances. On 12/26/2015 09:21 AM, Vladimir Sitnikov wrote: >> we cannot achieve positioned updates using the JDBC implementation > This is "functional requirement" > >> All of these parameters depends on what table we're going through > Those a "non-functional requirements" (see [1]). > You'd better collect NFRs *before* you finalize design and write the code. > >> Our main problem is > Suppose you somehow achieved "positional updates". What if it turns > out to be super-slow? Believe me, there are good reasons for > "positional updates" to be super slow. > You would have to rewrite the whole thing from scratch to make it fast. > > This is why I do not want to help you to shoot into your own foot. > > Anyway, pull requests are welcome. > > [1]: https://en.wikipedia.org/wiki/Non-functional_requirement > > Vladimir -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc