From: Hédi HACHENI <hacheni@kopileft.com>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC and positioned updates
Date: Sat, 26 Dec 2015 09:53:03 +0100
Message-ID: <567E556F.4020103@kopileft.com> (raw)
In-Reply-To: <CAB=Je-ErHb6_0CUJ1uRn2fnyn01Q0YfVRv5-77sWBt1NLDJfRw@mail.gmail.com>
References: <567D5C7B.3060402@kopileft.com>
<CAB=Je-F-j-XY6yZCZtcByWkRL+saNJ7rMZXuRovYtp2cP33XqA@mail.gmail.com>
<567E493D.7050204@kopileft.com>
<CAB=Je-H6fN7iv_Nt=tJig9krQJoGkxmiOpLZBC-wpzX7GX_4=g@mail.gmail.com>
<567E4AD8.50403@kopileft.com>
<CAB=Je-ErHb6_0CUJ1uRn2fnyn01Q0YfVRv5-77sWBt1NLDJfRw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
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
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-jdbc@postgresql.org
Cc: hacheni@kopileft.com, sitnikov.vladimir@gmail.com
Subject: Re: JDBC and positioned updates
In-Reply-To: <567E556F.4020103@kopileft.com>
References: <567D5C7B.3060402@kopileft.com> <CAB=Je-F-j-XY6yZCZtcByWkRL+saNJ7rMZXuRovYtp2cP33XqA@mail.gmail.com> <567E493D.7050204@kopileft.com> <CAB=Je-H6fN7iv_Nt=tJig9krQJoGkxmiOpLZBC-wpzX7GX_4=g@mail.gmail.com> <567E4AD8.50403@kopileft.com> <CAB=Je-ErHb6_0CUJ1uRn2fnyn01Q0YfVRv5-77sWBt1NLDJfRw@mail.gmail.com> <567E556F.4020103@kopileft.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