Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: electrotype <electrotype(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: JDBC driver - is "getGeneratedKeys()" guaranteed to return the ids in the same order a batch insert was made?
Date: 2020-12-09 10:21:31
Message-ID: CADK3HH+h60g5dmZq4qhESo1Q1yn-x4EGixYZbOGufc=tHFu-1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

So I'm curious. Why does order matter ?

Dave Cramer
www.postgres.rocks

On Wed, 9 Dec 2020 at 03:15, electrotype <electrotype(at)gmail(dot)com> wrote:

> I can't see how they could possibly be out of order.
>
> Thanks, that what I think too. But, to be honest, I'd really like to see
> this written in some documentation! In some cases, this small detail can be
> quite important.
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Niels Jespersen 2020-12-09 12:29:43 Tools showing table partitions as tables in listings of tables
Previous Message Aravindhan Krishnan 2020-12-09 09:51:56 Re: postgres-10 with FIPS